User and Reference Guide for the Intel® C++ Compiler 14.0
Enables the use of the Clang environment.
Not available on Intel® 64 architecture targeting Intel® MIC Architecture, or on IA-32 architecture targeting Intel® Graphics Technology
Linux OS: | None |
OS X: | -use-clang-env -no-use-clang-env |
Windows OS: | None |
None
-use-clang-env |
The Clang environment is used. |
This option enables the use of the Clang environment. This environment uses the Clang headers and libraries.
If -no-use-clang-env is specified, the gcc environment is used. This environment uses gcc headers and libraries.
Windows: None
Linux: None
OS X: Command Line > Enable use of Clang headers and libraries
None
Option use-clang-env must be used for both the compile and link step if you want environment consistency. If you are compiling to object and you want to use the Clang environment, you must specify the option as follows:
icpc -c -use-clang-env <source-files...>
After the object is created, you must also specify the option for the object, as follows:
icpc -use-clang-env <object_files...>