Visible to Intel only — GUID: GUID-9D629A65-E267-4A5A-B8D8-63F46CD50649
Visible to Intel only — GUID: GUID-9D629A65-E267-4A5A-B8D8-63F46CD50649
staticlib
Invokes the libtool command to generate static libraries. This feature is only available for ifort.
Syntax
Linux: |
None |
macOS: |
-staticlib |
Windows: |
None |
Arguments
None
Default
OFF |
The compiler produces an executable. |
Description
This option invokes the libtool command to generate static libraries. This option is processed by the command that initiates linking, adding library names explicitly to the link command.
When passed this option, the compiler uses the libtool command to produce a static library instead of an executable when linking.
To build dynamic libraries, you should specify option -dynamiclib or libtool -dynamic <objects>.
IDE Equivalent
Alternate Options
None