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 :
- Convert C source code to object file.
- Link all the object files to create an executable.
- 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 ?
Thanks a lot.