Chapter
: 2
Compile ARM
C-code with Eclipse
Date
: Sun, 29 August 2009
Writer
: Ataya P
Working Platform :
Lenovo Notebook , Intel Pentium Dual Core T2080 1.73GHz
2Gbyte RAM
Ubuntu 9.04 -Jaunty Jackalope
Cooking ingredient
:
1.ARM cross compiler (try to read
chapter1)
2.Eclipse IDE for C/C++ Developer
Let's do it
1.Download and install Eclipse on your PC
2.Start up Eclipse and install add-on Zylin Embbedded CDT by
select [Help->Software Updates]
3.At [Software Updates and Add-ons] fill
[http://opensource.zylin.com/zylincdt] and install it.
4.Make C project [File->New->C Project] and select
[Makefile->Empty Project]
5.Click on [Project->Properties] then [C/C++
Build->Setting] at binary parser and then select GNU Elf Parser
6.Copy the sample source to your Eclipse project and Change
Makefile to use arm-elf-gcc.
7.Compile the code and get the binary file
Useful
Link :
http://homepage3.nifty.com/zus/ARM_LPC2388_Dev_Flame.html