pie

Produces a position-independent executable on processors that support it.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux:

-pie

Mac OS X:

None

Windows:

None

Arguments

None

Default

OFF

The driver does not set up special run-time libraries and the linker does not perform the optimizations on executables.

Description

This option produces a position-independent executable on processors that support it. It is both a compiler option and a linker option. When used as a compiler option, this option ensures the linker sets up run-time libraries correctly.

Normally the object linked has been compiled with option -fpie.

When you specify -pie, it is recommended that you specify the same options that were used during compilation of the object.

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.