Determines whether the compiler generates position-independent code that will be linked into an executable.
Linux: | -pie -no-pie |
Windows: | None |
None
varies |
On Linux*, the default is -no-pie. |
This option determines whether the compiler generates position-independent code that will be linked into an executable. To enable generation of position-independent code that will be linked into an executable, specify -pie.
To disable generation of position-independent code that will be linked into an executable, specify -no-pie.
None