On Mon, 2009-03-30 at 10:44 +0200, Christopher Friedt wrote: > I'm writing code in C for a very small static binary, and the code > doesn't use any headers or rely on any other libraries. It's quite > tiny and only does a very specific job - it initializes a uart and > repeatedly prints a message out in an infinite loop. It's intended to > be run by the bootloader instead of a kernel to test out the uart > hardware. > > When I'm compiling the code, I'm using > > arm-softfloat-linux-gnueabi-gcc -Wall -fomit-frame-pointer -pipe -Os > -march=armv5te -static -o hello_uart hello_uart.c
You are saying that this code is expected to run by the bootloader (i.e. no linux) therefore shouldn't you be using a non *-linux-* ? i.e. something like armv5te-softfloat-elf? AA
