Visible to Intel only — GUID: GUID-F5F9832D-1EE0-4F1A-8864-51B1EA824550
Visible to Intel only — GUID: GUID-F5F9832D-1EE0-4F1A-8864-51B1EA824550
static-libgcc
Links the GNU libgcc library statically.
Syntax
Linux: |
-static-libgcc |
macOS: |
None |
Windows: |
None |
Arguments
None
Default
OFF |
The compiler links the GNU libgcc library dynamically. |
Description
This option links the GNU libgcc library statically. It is the opposite of option -shared-libgcc.
This option is processed by the compiler driver command that initiates linking, adding library names explicitly to the link command.
This option is useful when you want to override the default behavior, which causes the library to be linked dynamically.
If you want to use traceback, you must also link to the static version of the libgcc library. This library enables printing of backtrace information.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation. Offloading can only be enabled when using ifx.
IDE Equivalent
Alternate Options
None