Intel® Fortran Compiler 17.0 Developer Guide and Reference

mdynamic-no-pic

Generates code that is not position-independent but has position-independent external references.

Architecture Restrictions

Not available on Intel® 64 architecture targeting Intel® MIC Architecture

Syntax

Linux:

None

macOS:

-mdynamic-no-pic

Windows:

None

Arguments

None

Default

OFF

All references are generated as position independent.

Description

This option generates code that is not position-independent but has position-independent external references.

The generated code is suitable for building executables, but it is not suitable for building shared libraries.

This option may reduce code size and produce more efficient code. It overrides the -fpic compiler option.

IDE Equivalent

None

Alternate Options

None

See Also