Developer Guide and Reference

  • 2021.2
  • 04/07/2021
  • Public Content
  • Download as PDF
Contents

Multi-Version Compiler Support

You can select different versions of the
Intel® oneAPI
DPC++/C++
Compiler
for compiling projects with the Eclipse* Integrated Development Environment (IDE). For a list of the currently supported compiler versions by platform, refer to the Release Notes.
If multiple versions of the compiler are installed on the system, Eclipse uses the latest version by default. To select the version of the compiler to build your project:
  1. Right click the project and open
    Properties
    .
  2. In the properties dialog box, select
    C/C++ Build
    Settings
    .
  3. Select the
    Intel(R) oneAPI DPC++ Compiler
    for a DPC++ project, or the
    Intel® C++ Compiler
    for a C++ project tab.
  4. Select the row with the desired compiler version.
  5. Click
    Use Selected
    . Alternatively, click
    Use Latest
    to select the latest version of compiler.
  6. Click
    Apply
    .
The corresponding compiler environment is configured automatically for your project.
Use
Settings
and
Tool Chain Editor
to select tools to be used within the toolchain, or set distinct project properties, like compiler options, to be used with different versions of the compiler.
For any project, you can set the compiler environment by specifying it within Eclipse; this overrides any other environment specifications for the compiler.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.