Development Reference Guides

Contents

static-libstdc++

Links the GNU libstdc++ library statically.

Syntax

Linux:
-static-libstdc++
Windows:
None
Arguments
None
Default
OFF
The compiler links the GNU
libstdc++
library dynamically.
Description
This option links the GNU
libstdc++
library statically.
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.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
IDE Equivalent
None
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.