Tells the compiler to generate position-independent code.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -fpic -fno-pic |
Windows: | None |
None
OFF | The compiler does not generate position-independent code. |
This option tells the compiler to generate position-independent code.
It specifies full symbol preemption. Global symbol definitions as well as global symbol references get default (that is, preemptable) visibility unless explicitly specified otherwise.
On ItaniumŪ-based systems and Intel EM64T systems, this option must be used when building shared objects.
This option can also be specified as -fPIC.
Linux: -Kpic, -KPIC (these are deprecated
options)
Windows: None