Visible to Intel only — GUID: GUID-68D54640-CA6A-4003-BDB0-B6DAE60B5133
Visible to Intel only — GUID: GUID-68D54640-CA6A-4003-BDB0-B6DAE60B5133
gcc-name
Lets you specify the name of the GCC compiler that should be used to set up the link-time environment, including the location of standard libraries.
Syntax
Linux: |
-gcc-name=name |
Windows: |
None |
Arguments
name |
Is the name of the GCC compiler to use. It can include the path where the GCC compiler is located. |
Default
OFF |
The compiler uses the PATH setting to find the GCC compiler and resolve environment settings. |
Description
This option lets you specify the name of the GCC 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 when you are referencing a non-standard GCC installation, or 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 -gcc-name is -gxx-name.
IDE Equivalent
Alternate Options
None
Example
If the following option is specified, the compiler looks for the GCC compiler named foobar in the PATH setting:
-gcc-name=foobar
If the following option is specified, the compiler looks for the GCC compiler named foobar in the path specified:
-gcc-name=/a/b/foobar