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 and select it.
  2. Select Intel Tools > Update Projects > Use Intel(R) C++ Compiler.
  3. The Project Update dialog box appears:

    • Select or deselect the configurations to update using the checkbox at the beginning of each row. Use Select All or Deselect All to select or deselect all configurations.
    • By default, CDT saves the original configuration after the update. To disable this behavior, uncheck the Keep checkbox.
    • Rename the new configuration by clicking it in the New Intel Configuration column. 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.
    • 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 is used.

When a project is successfully updated, the menu item Use GCC appears under Intel Tools > Update Projects.

Switching Between Compilers

When you select either the Use GCC or Use Intel(R) C++ Compiler menu item, CDT prompts you to select the active configuration. Choose the configuration and click OK.


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.