Intel® Fortran Compiler 17.0 Developer Guide and Reference

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 ifort (icc/icpc) 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.

IDE Equivalent

None

Alternate Options

None

See Also