This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ARM7TDMI problem
- From: Pawel Sikora <pluto at agmk dot net>
- To: gcc-help at gcc dot gnu dot org
- Cc: Hadi Aminzadeh <hadi60 at gmail dot com>
- Date: Tue, 11 Oct 2011 13:25:42 +0200
- Subject: Re: ARM7TDMI problem
- References: <CANWn+yESRriP137hJHtL2J5oWTuQnq9t3a=paJSQvU-RyAbVAw@mail.gmail.com> <CANWn+yFWoFZurEuHdskSitRo1W6ereiNNG8-gw=sQQwPC9TNvg@mail.gmail.com>
On Tuesday 11 of October 2011 14:35:30 Hadi Aminzadeh wrote:
> Hi Dear,
>
> I have a LPC2478 arm processor and want to use gcc to cross compile my
> code in x86 for LPC2478
> I use arm-linux-gnueabi-gcc to do that but (I think) the output of gcc
> is an application that can be run in arm ported linux kernel but I
> need Intel HEX-like format that can be programmed to micro controller
> (I haven't any OS)
> I haven't any idea what to do or what keyword I must search.
you basically need a proper linker script for small embedded device.
please, see an example at http://www.dreamislife.com/arm/ -> lpc2106_gcc.zip
and search arm groups for similar one tuned for LPC2478...