Difference between revisions of "Eclipse"

From ArmadeusWiki
Jump to: navigation, search
m (Eclipse installation)
m (Eclipse start and configuration for the target (user applications))
Line 18: Line 18:
 
  $tar -xvzf Desktop/eclipse-cpp-europa-winter-linux-gtk.tar.gz
 
  $tar -xvzf Desktop/eclipse-cpp-europa-winter-linux-gtk.tar.gz
  
==Eclipse start and configuration for the target (user applications)==
+
==Eclipse start and configuration for the target==
 
  $eclipse/eclipse &
 
  $eclipse/eclipse &
  

Revision as of 20:57, 3 June 2008

How-To install Eclipse IDE and GDB debugger

Forewords

Eclipse IDE has been chosen as standard IDE for the Armadeus software development process.
Specific pluggins will be added to ease writing kernel drivers and user applications.
Despite one or two drawbacks (slow for example), Eclipse provides several advantages like the support of different languages, the good integration of GDB ...


Eclipse installation

Go to the Eclipse download page

and select Eclipse IDE for C/C++ Developers (Linux version)

Install Eclipse to the Home directory:

$cd $HOME

Assuming that the downloaded package is located on your desktop

$tar -xvzf Desktop/eclipse-cpp-europa-winter-linux-gtk.tar.gz

Eclipse start and configuration for the target

$eclipse/eclipse &

1. Select your workspace (where your projects will be saved)
2. Go to the workbench by clicking on "Workbench"
3. Create a new C Project with the name "testprogs" ->File ->New -> C project
4. Enter the project name here "testprogs" and click finish
5. Now the ARM compiler has to be chosen to build the code for the target. Right click on the project "testprogs" in the project explorer and select properties
6. In the C/C++ Build entry, select Settings then GCC C Compiler then insert the path of the ARM compiler in the field Command

/home/nicolas/armadeus/buildroot/build_arm/staging_dir/bin/arm-linux-gcc 

7. GCC options can be modified in the All options field
8. Now the ARM linker has to be chosen as well. GCC C Linker then insert the path of the ARM linker in the field Command

/home/nicolas/armadeus/buildroot/build_arm/staging_dir/bin/arm-linux-gcc

9. And finally the ARM assembler.GCC Assembler then insert the path of the ARM assembler in the field Command

/home/nicolas/armadeus/buildroot/build_arm/staging_dir/bin/arm-linux-as