User and Reference Guide for the Intel® C++ Compiler 14.0

static

Prevents linking with shared libraries.

Syntax

Linux OS:

-static

OS X:

None

Windows OS:

None

Arguments

None

Default

OFF

The compiler links with shared libraries.

Description

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

IDE Equivalent

Windows: None

Linux: Libraries > Link with static libraries

OS X: None

Alternate Options

None

See Also


Submit feedback on this help topic