static-libgcc

Links the GNU libgcc library statically.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux: -static-libgcc
Mac OS: None
Windows: None

Arguments

None

Default

OFF The compiler links the libgcc library dynamically.

Description

This option links the GNU libgcc library statically. It is the opposite of option shared-libgcc.

This option is useful when you want to override the default behavior of the static option, which causes all libraries to be linked statically.

Alternate Options

None

See Also

shared-libgcc