11.10.2011 14:05, Hadi Aminzadeh kirjoitti:
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.
What about using "gcc for arm" ? Doing that in Google gave as the 2nd hit: http://www.gnuarm.com/ which is one of the many sites in the net providing prebuilt GCCs for the embedded (no-opsys) ARM systems. Another site coming into my mind was CodeSourcery which now seemed to be a part of Mentor Graphics: http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/lite-edition Of course all us NIH-attitude people will try to produce our own toolchains from pristine FSF sources but for some the pre-made tools may be acceptable... :)