DS-5: CREATING NEW C/C++ ECLIPSE PROJECTS FOR ARM LINUX TARGETS
Information in this knowledgebase article applies to:
How do I create a new C/C++ Eclipse project for ARM Linux
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
To do this:
Select File -> New -> Project...
from the main menu.
- Expand the C/C++ group.
- Select either C Project or C++ Project.
- Click on Next.
- Enter a name for your project.
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
- Expand the Makefile project group.
- Select Empty project in the Project type panel.
- Click on Finish to create your new project.
Before you can build the project, a
containing all the compilation tool settings, is required. The
easiest way to create one is to copy the
the example project,
hello and paste it into your new
Makefile as follows:
Locate the line that contains
hello.o object file with the names
of the object files corresponding to your source files.
- Save the file.
You can now build the new project:
In the Project Explorer view, select the project that you
want to build.
Select Project -> Build Project from the
Last Reviewed: Saturday, June 26, 2010