Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

mdynamic-no-pic

Generates code that is not position-independent but has position-independent external references. This feature is only available for ifort.

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