Intel® C++ Compiler 16.0 User and Reference Guide

static

Prevents linking with shared libraries.

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.

IDE Equivalent

Visual Studio: None

Eclipse: Libraries > Link with static libraries

Xcode: None

Alternate Options

None

See Also