Prevents linking with shared libraries.
Windows: None
Linux: Libraries > Link with static libraries
Mac OS X: None
IA-32, IntelĀ® 64, IA-64 architectures
Linux: |
-static |
Mac OS X: |
None |
Windows: |
None |
None
OFF |
The compiler links with shared libraries. |
This option prevents linking with shared libraries. It causes the executable to link all libraries statically.
None