You have ARMv5 without a floating point processor. That should have been enough with the flags -march=armv5 and -mfloat-abi=soft .
However, if these flags do not work for you, I would suggest writing a small c application to test the tool chain.
int main(void) { return 42; }
and compile it with the most complete / strict flags
$arm-linux-gnueabi-gcc -Wall --static -O2 -marm -march=armv5 simple.c -o simple
after that click simple to target, run it, then enter echo $? to check if you get 42 . If it works, try to see if printf can work. If this also works, you are pretty much tuned in to everything. If printf fails, the easiest solution is to find the right tool chain for your purpose.
source share