Intel® Fortran Compiler 16.0 User and Reference Guide

static

Prevents linking with shared libraries.

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.

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