Visible to Intel only — GUID: GUID-729C7FC7-06FC-406C-8B34-72C2EFA1991D
Visible to Intel only — GUID: GUID-729C7FC7-06FC-406C-8B34-72C2EFA1991D
fpie
Tells the compiler to generate position-independent code. The generated code can only be linked into executables.
Linux: |
-fpie |
Windows: |
None |
None
OFF |
The compiler does not generate position-independent code for an executable-only object. |
This option tells the compiler to generate position-independent code. It is similar to -fpic, but code generated by -fpie can only be linked into an executable.
Because the object is linked into an executable, this option causes better optimization of some symbol references.
To ensure that run-time libraries are set up properly for the executable, you should also specify option -pie to the compiler driver on the link command line.
Option -fpie can also be specified as -fPIE.
None