Prevents linking with shared libraries.
Linux: | -static |
Windows: | None |
None
OFF |
The compiler links with shared libraries except as otherwise specified by -static-intel or its default. |
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.
Visual Studio: None
Eclipse: Libraries > Link with static libraries
None