Updating a GCC* Project to Use the Intel® C++ Compiler

You can update a GCC* Project to use the Intel® C++ Compiler while preserving GCC options and other settings in the original project. Once you successfully update the project, you can use menu items to easily switch back and forth between the Intel compiler and GCC.

To update an existing GCC project to use Intel C++ Compiler, start Eclipse and follow these steps:


  1. Open the desired GCC project.
  2. Select Project>Use Intel(R) C++ Compiler.

  3. The Project Update dialog box appears:

    Use the dialog box as follows:

    • Select/Deselect the configurations to update using the checkbox at the beginning of each row. Use Select All/Deselect All to select/deselect all configurations.
    • By default, the compiler saves the original configuration after the update. To delete this saved configuration, unselect the Keep checkbox.
    • Enter the name of the new configuration in the New Intel Configuration field. The Overwrite field indicates whether a configuration with that same name already exists and whether the existing configuration will be overwritten by the update. If the named configuration does not exist, the field displays . If the named configuration exists, the field displays a checkmark . Unchecking this box will result in a message warning you of any conflict.
    • You can get brief tips by placing your cursor on the column headers.
    • You can click the help button to get the help text.
    • If you have multiple versions of Intel Compiler installed, click Next to select the compiler for use with the new configuration. By default, the most recent Intel compiler will be used.

When a project is successfully updated, the menu item Use GCC appears in the Project menu. Use this menu item, along with the Use Intel(R) C++ Compiler menu item, to switch back and forth between the compilers.

Switching Between Compilers

When you select either the Use GCC or Use Intel(R) C++ Compiler menu item, a dialog box similar to the following displays, asking you to select the active configuration. Choose the configuration and click OK.