I built a lenny.ext3 from scratch (using his debootstrap intructions). I loop mounted it and did a qemu-static ch to it from my x86 linux mint. I installed build-essentials for architecture armeabi. I build a hello.c with "gcc -march=arm5te -o hello hello.c". It does not work, just like all the others.
Dynamic shared lib executables say "not found" when executed. Static builds seg fault. Just like always. I wonder if "not found" means it tried to run but could not find some library?
When I force the cpu-type for emulation, it still works on my x86 box (so it should on K1 unless a library issue):
PHP Code:
mint17-32 build # file hello
hello: ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), statically linked, for GNU/Linux 2.6.14, not stripped
mint17-32 build # qemu-arm-static -cpu pxa255 hello
hello world!