Re: GCC compiling- help needed
- From: "FreeRTOS.org" <noemail@xxxxxxxxx>
- Date: Fri, 26 Sep 2008 16:25:07 GMT
"nik" <nitinkothari@xxxxxxxxx> wrote in message
news:69f0ba14-b977-4aad-a672-6b406df5e3eb@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi guys !
I am a rookie in gcc.So please help me out.
I have arm-elf-gcc 4.1.1 installed on Ubuntu and I have to cross
compile for ARM7TDMI-S core based LPC2368 processor.
I have the C runtime file crt0.S, the startup.S,processor's header
file and I have also modified the ROM.ld.
So, what I remember , the process will be :
1. Convert C source code to object file.
2. Link all the object files to create an executable.
3. Convert the executable to intel hex format.
But I am unable to link as I have a few doubts.
Question 1 : crt0.S is not getting converted to crt0.o and startup.s
to startup.o. How to do it ?
Question 2 : How to link ROM.ld with other files ?
Best bet is just to start with a project that is already working. You could
start with the LPC2368/Eclipse demo in the FreeRTOS.org download which has a
standard makefile (although I have only tested on Windoze so you may find
some case problems in the include paths). Alternatively look in the files
section of the LPC2000 Yahoo group.
--
Regards,
Richard.
+ http://www.FreeRTOS.org & http://www.FreeRTOS.org/shop
17 official architecture ports, more than 6000 downloads per month.
+ http://www.SafeRTOS.com
Certified by TÜV as meeting the requirements for safety related systems.
.
- References:
- GCC compiling- help needed
- From: nik
- GCC compiling- help needed
- Prev by Date: Re: Best low cost uP for full Linux
- Next by Date: Re: Atmel
- Previous by thread: GCC compiling- help needed
- Next by thread: computer laptops
- Index(es):
Relevant Pages
|