Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the Intel C++ Compiler (19.0) now only using the Clang front-end (i.e. already abandoned EDG)?

Tags:

c++

intel

icc

edg

In 16.0, the Intel C++ Compiler provided two compilers (one based on EDG, another based on Clang).

From the 16.0 documentation:

Using the Command Line

To invoke the compiler from the command line, use a command similar to the following:

  • For C source files: icc my_source_file.c or icl my_source_file.c

  • For C++ source files: icpc my_source_file.cpp or icl++ my_source_file.cpp

Following successful compilation, the compiler creates an executable file in the current directory.

icl/icl++ is a Clang-based front-end. You can use Clang options with this compiler. icc/icpc is an EDG-based front-end. You cannot use Clang options with icc/icpc.

But I'm not seeing a similar description now.

like image 581
Zeson Avatar asked May 10 '19 09:05

Zeson


1 Answers

If Intel is using icl/icl++ to denote Clang-based front-end and icc/icpc to denote EDG-based front-end in 19.0 as well, then both these are available but on different platforms.

icc/icpc is available in Linux and macOS and icl is available in Windows.

From the documentation of 19.0:

Linux*:

Invoke the compiler using icc/icpc to compile C/C++ source files.

macOS*:

Invoke the compiler using icc/icpc to compile C/C++ source files.

Windows*:

You can invoke the Intel® C++ Compiler on the command line using the icl command.

like image 56
P.W Avatar answered Nov 17 '22 13:11

P.W