Intel® C++ Compiler 16.0 User and Reference Guide
Specifies the name of the Clang compiler that should be used to set up the environment for C compilations.
Not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner), on IA-32 architecture targeting Intel® Graphics Technology, or on Intel® 64 architecture targeting Intel® Graphics Technology
Linux: | None |
OS X: | -clang-name=name |
Windows: | None |
name |
Is the name of the Clang compiler to use. It can include the path where the Clang compiler is located. |
OFF |
The compiler uses the PATH setting to find the Clang compiler and resolve environment settings. |
This option specifies the name of the Clang compiler that should be used to set up the environment for C compilations. 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 Clang installation.
The C++ equivalent to option -clang-name is -clangxx-name.
This option applies to the Intel compiler running in a CLANG environment. It does not apply to the Intel CLANG-based compiler.
None
If the following option is specified, the compiler looks for the Clang compiler named foobar in the PATH setting:
-clang-name=foobar
If the following option is specified, the compiler looks for the Clang compiler named foobar in the path specified:
-clang-name=/a/b/foobar