Intel® Fortran Compiler XE 13.1 User and Reference Guides

static

Prevents linking with shared libraries.

IDE Equivalent

None

Architectures

All

Syntax

Linux:

-static

OS X:

None

Windows:

/static

Arguments

None

Default

Linux: OFF
Windows: varies

On Linux* systems, the compiler links with shared libraries. On Windows* systems, /static is equivalent to option /MT. For more information, see that compiler option.

Description

This option prevents linking with shared libraries. It causes the executable to link all libraries statically.

Alternate Options

None

See Also


Submit feedback on this help topic