Visible to Intel only — GUID: GUID-E5C78EE6-2C78-42CB-9E18-6D7468B1C33D
Visible to Intel only — GUID: GUID-E5C78EE6-2C78-42CB-9E18-6D7468B1C33D
stdlib
Lets you select the C++ library to be used for linking.
Syntax
Linux: |
None |
macOS: |
-stdlib[=keyword] |
Windows: |
None |
Arguments
keyword |
Is the function information to include. Possible values are:
|
Default
-stdlib=libc++ |
The compiler links using the libc++ library. |
Description
This option lets you select the C++ library to be used for linking. This option is processed by the command that initiates linking, adding library names explicitly to the link command.
Currently, if you do not specify this option, the libc++ headers and library are used.
The IDE provides another possible setting for option -stdlib, which lets you choose the compiler default rather than a specific library.
IDE Equivalent
Visual Studio: None
Eclipse: None
Xcode: Language > C++ standard library > libstdc++
Language > C++ standard library > libc++
Language > C++ standard library > compiler-default
Alternate Options
None