-pic

Generates position-independent code, suitable for linking into a shared library.

Use this option when compiling code for inclusion in a shared object.

Restriction: Support on UNIX platforms is limited to Solaris, SUSE Linux and Red Hat Linux.