Multi-version Compiler Support

The following topic applies to Eclipse* for C/C++.

Different versions of the Intel® C++ Compiler can be selected for compiling projects with the Eclipse* Integrated Development Environment (IDE). Eclipse* Executable, Shared Library, Static Library, and Makefile projects, and configurations (and the toolchain the configuration is based on) are used to provide this support. Refer to the Intel® C++ Compiler Release Notes for a list of the currently supported compiler versions by platform.

Select the version of the Intel® C++ Compiler to build your project. You do this by selecting the configuration associated with the desired version of the compiler prior to building your project. You can create the desired configurations for the versions of the compiler that you would like to build either through the Manage Configurations interface within the IDE, accessible via the project's properties. Right click the project and select Properties > C/C++ Build and select either Settings or Tool Chain Editor.

On the Configuration line, select Manage Configurations . The Manage Configurations dialog box appears.

To create configurations using the Manage Configurations interface:

  1. Click New.

  2. Give the project a unique Name . The configuration name will be used as a directory name in the file system, so reserved characters such as $ or * are not allowed.

  3. Select where you wish to Copy settings from. Available options are Existing configuration, Default configuration, Import from projects, and Import predefined.

Within configurations, you can set distinct project properties, like compiler options, to be used with different versions of the Intel® C++ Compiler and select and modify compiler versions to use by changing the active configuration. The active configuration is the configuration in effect when your application is built within the Eclipse* IDE.

For any project, you can set the compiler environment by specifying it within Eclipse*, overriding any other environment specifications for the compiler.

For more complete information about compiler optimizations, see our Optimization Notice.