Intel® C++ Compiler XE 13.1 User and Reference Guides

static

Prevents linking with shared libraries.

IDE Equivalent

Windows: None

Linux: Libraries > Link with static libraries

OS X: None

Architectures

All

Syntax

Linux:

-static

OS X:

None

Windows:

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.

Alternate Options

None

See Also


Submit feedback on this help topic