Difference between revisions of "Eclipse"
m (New page: How-To install Eclipse IDE and GDB debugger ==Forewords== Eclipse IDE has been chosen as standard IDE for the Armadeus software development process.<br> Specific pluggins will be added t...) |
m (→Eclipse installation) |
||
Line 8: | Line 8: | ||
==Eclipse installation== | ==Eclipse installation== | ||
+ | Go to the Eclipse download page | ||
+ | * http://www.eclipse.org/downloads/ | ||
+ | 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 (user applications)== | ||
+ | $eclipse/eclipse & | ||
+ | |||
+ | 1. Select your workspace (where your projects will be saved) <br> | ||
+ | 2. Go to the workbench by clicking on "Workbench" <br> | ||
+ | 3. Create a new C Project with the name "testprogs" ->File ->New -> C project <br> | ||
+ | 4. Enter the project name here "testprogs" and click '''finish''' <br> | ||
+ | 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''' <br> | ||
+ | 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 <br> | ||
+ | 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 | ||
+ | |||
[[Category:Toolchain]] | [[Category:Toolchain]] |
Revision as of 19:56, 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 (user applications)
$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