Visible to Intel only — GUID: GUID-D772B75D-4552-405C-841F-FED42594695B
Visible to Intel only — GUID: GUID-D772B75D-4552-405C-841F-FED42594695B
gxx-name
Lets you specify the name of the g++ compiler that should be used to set up the link-time environment, including the location of standard libraries.
Syntax
Linux: |
-gxx-name=name |
macOS: |
None |
Windows: |
None |
Arguments
name |
Is the name of the g++ compiler to use. It can include the path where the g++ compiler is located. |
Default
OFF |
The compiler uses the PATH setting to find the g++ compiler and resolve environment settings. |
Description
This option lets you specify the name of the g++ compiler that should be used to set up the link-time environment, including the location of standard libraries. If you do not specify a path, the compiler will search the PATH settings for the compiler name you provide.
This option is helpful if you have multiple gcc++ installations on your system. The compiler will match gcc++ version values to the gcc++ compiler you specify.
The C equivalent to option -gxx-name is -gcc-name.
IDE Equivalent
Alternate Options
None
Example
If the following option is specified, the compiler looks for the g++ compiler named foobar in the PATH setting:
-gxx-name=foobar
If the following option is specified, the compiler looks for the g++ compiler named foobar in the path specified:
-gxx-name=/a/b/foobar