Determines whether the compiler generates position-independent code.
Windows: None
Linux: Code Generation > Generate Position Independent Code
Mac OS X: None
IA-32, Intel® 64 architectures
Linux and Mac OS X: | -fpic -fno-pic |
Windows: | None |
None
-fno-pic |
The compiler does not generate position-independent code. |
This option determines whether the compiler generates position-independent code.
Option -fpic specifies full symbol preemption. Global symbol definitions as well as global symbol references get default (that is, preemptable) visibility unless explicitly specified otherwise.
Option -fpic must be used when building shared objects.
This option can also be specified as -fPIC.
None
Copyright © 1996-2011, Intel Corporation. All rights reserved.