Developer Guide and Reference

Contents

static

Prevents linking with shared libraries.

Syntax

Linux:
-static
Windows:
None
Arguments
None
Default
OFF
The compiler links with shared libraries
except as otherwise specified by
-static-intel
or its default
.
Description
This option prevents linking with shared libraries. It causes the executable to link all libraries statically.
This option does not cause static linking of libraries for which no static version is available. These libraries can only be linked dynamically.
IDE Equivalent
Visual Studio:
None
Eclipse:
Libraries > Link with static libraries
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.