Keil Logo


Information in this knowledgebase article applies to:

  • ARM Development Studio 5


How do I create a new C/C++ Eclipse project for ARM Linux targets?


Using DS-5 you can create C/C++ Eclipse projects for ARM Linux that can be built using the ARM Linux GCC toolchain included with DS-5.

To do this:

  1. Select File -> New -> Project... from the main menu.
  2. Expand the C/C++ group.
  3. Select either C Project or C++ Project.
  4. Click on Next.
  5. Enter a name for your project.
  6. Leave the Use default location option selected so that the project is created in the default folder shown. Alternatively, deselect this option and browse to your preferred project folder.
  7. Expand the Makefile project group.
  8. Select Empty project in the Project type panel.
  9. Click on Finish to create your new project.
  10. Before you can build the project, a Makefile, containing all the compilation tool settings, is required. The easiest way to create one is to copy the Makefile from the example project, hello and paste it into your new project.
  11. Edit the Makefile as follows:
    1. Locate the line that contains OBJS = hello.o.
    2. Replace the hello.o object file with the names of the object files corresponding to your source files.
    3. Save the file.
  12. You can now build the new project:
    1. In the Project Explorer view, select the project that you want to build.
    2. Select Project -> Build Project from the main menu.


The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Saturday, June 26, 2010

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.