Quote:
Originally Posted by knc1
In armv4 days, there was only one abi.
Try that on your Hello World: -arch=armv4
or whatever your compiler offers that is close.
|
I did try that, along with -static. It did not work. I will try it after I build the aboriginal rootfs. I was busy with other stuff. Another option: I have a codesourcery arm-linux for bare metal, it looks for _start() instead of main(), and it needs a short assembler preamble to setup interrupt vectors (per the "bare metal arm" link I posted last night). I will probably try that soon too; I prefer working at system-call level anyway, and not (mis)depending on other libraries that will (probably) suffer from version mismatches in the future (both in windoze and linux).