Change Tool Chain to GCC

To change the tool chain:

  1. Import the Freescale ARM Compiler-based project into the workspace.
  2. Create a new ARM GCC project using project wizard for later use.
    Note: You need to select GCC as ARM build tool in the Language and Build Tools Options page of the new project wizard.
    Figure 1. Language and Build Tools Options

  3. Replace the *.cproject file of your project with the one from the new created GCC project. *.cproject file is located on the top level of your project folder. This file contains project settings, such as building tools to be used, various compiler options, and so on. With this trick, the building tool of your project has been changed to GCC.
    Figure 2. Replace the *.cproject file

  4. Select your project in the project view and press F5 on the keyboard to refresh the project.
  5. Select Project > Properties from the menu bar.
  6. Navigate to C/C++ Build > Tool Chain Editor. In the Tool Chain Editor page, the current tool chain will be ARM Ltd. Windows GCC (G++ Lite and current builder should be ARM Ltd. Windows GNU Make builder.
    Figure 3. Tool Chain Editor

  7. Navigate to C/C++ Build > Settings . Select [All configurations] in Configuration option. You may need to add
    1. Defined/Undefined symbols in ARM Ltd. Windows GCC Assembler > Preprocessor page.
    2. Defined/Undefined symbols in ARM Ltd. Windows GCC Compiler > Preprocessor page.
    3. Include paths in ARM Ltd. Windows GCC Assembler > Preprocessor page.
    4. Include paths in ARM Ltd. Windows GCC Compiler > Preprocessor page.
    5. Libraries in ARM Ltd. Windows GCC Linker > Libraries page.
  8. Select the Build Artifact tab and provide a new artifact name for your project. Ensure that you change the artifact names for different configurations.
  9. Click OK to save the configurations.