Setting up Eclipse as front end to Helix |
Software engineers may want to work with the software in a graphical development environment. Eclipse is such a development environment with a possibility to be used under numerous different operating systems.
This application describes how to set up Eclipse as a front end to the Helix toolchain. Eclipse will then control for instance the build profiles (debug/release) and settings in the compilers that are part of the Helix Linux toolkit.
Before going through the procedure below ensure that both Eclipse (that supports C/C++) and Helix are already installed on the system. |
| |
Create new project |
| Create a new project by selecting: File->New->C Project. In the first dialog that appears, select project type and project name: |
| |
| |
| |
|
| New project settings#1 |
|
|
| |
| |
| |
| |
|
| New project settings#2 |
|
|
| |
| |
| |
| |
| |
Change compiler |
| To make Eclipse use the compiler distributed with Helix, the project options must be modified. The project options dialog is available under Project->Properties. |
| |
| |
| |
|
| Project options |
|
|
| |
| |
| |
| |
| In the "C/C++ Build" dropdown menu, "Settings selection, "Tool settings" tab it is possible to tell Eclipse which compiler to use. Edit the "Command" field to point at the selected compiler in the Helix installation path. Note that the compiler must be changed for all configurations in the project. The standard configurations are "Release", and "Debug". |
| |
Build application |
| It is now possible to build the project through Project->Build All. The target application will end up in configuration/projectname. |
| |
References |
| Eclipse website: www.eclipse.org |
| |
| |
| |
| |