User and Reference Guide for the Intel® Fortran Compiler 14.0

static

Prevents linking with shared libraries.

Syntax

Linux OS:

-static

OS X:

None

Windows OS:

/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.

Description

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

IDE Equivalent

None

Alternate Options

None

See Also


Submit feedback on this help topic