Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

clangxx-name

Specifies the name of the Clang++ compiler that should be used to set up the environment for C++ compilations.

Syntax

Linux and macOS:

-clangxx-name=name

Windows:

None

Arguments

name

Is the name of the Clang++ compiler to use. It can include the path where the Clang++ compiler is located.

Default

OFF

The compiler uses the PATH setting to find the Clang++ compiler and resolve environment settings.

Description

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.

The C equivalent to option -clangxx-name is -clang-name.

NOTE:

This option applies to the Intel compiler running in a CLANG environment. It does not apply to the Intel CLANG-based compiler.

IDE Equivalent

None

Alternate Options

None

Example

If the following option is specified, the compiler looks for the Clang++ compiler named foobar in the PATH setting:

-clangxx-name=foobar

If the following option is specified, the compiler looks for the Clang++ compiler named foobar in the path specified:

-clangxx-name=/a/b/foobar

See Also