Intel® C++ Compiler XE 13.1 User and Reference Guides

use-clang-env

Enables the use of the Clang environment.

IDE Equivalent

Windows: None

Linux: None

OS X: Command Line > Enable use of Clang headers and libraries

Architectures

IA-32, Intel® 64 architecture

Syntax

Linux:

None

OS X:

-use-clang-env

-no-use-clang-env

Windows:

None

Arguments

None

Default

-no-use-clang-env

The gcc environment is used.

Description

This option enables the use of the Clang environment. This environment uses the Clang headers and libraries.

Alternate Options

None

Example

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...>

See Also


Submit feedback on this help topic