Intel® Fortran Compiler XE 13.1 User and Reference Guides

clang-name

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

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architecture

Syntax

Linux:

None

OS X:

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

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 has no effect unless option -use-clang-env has been specified.

Alternate Options

None

Example

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

See Also


Submit feedback on this help topic