Hi all,

   our goal is to compile a Linux Kernel in big-endian mode for a IXDP465 
using the Scratchbox environment. The toolchain must be capable of 
compiling applications in big-endian mode too, so that we can create an 
entire big-endian distribution (kernel + applications).

We tried several toolchains (arm-linux-ct401-2.3 included) but thet didn't 
have a big-endian libc (so compiling applications in big-endian mode was 
not possible). 

Therefore, we decided to rebuild a toolchain from scratch starting from the 
kegel environment (kegel.com). We succesfully built a big-endian 
toolchain, and we were able to import the toolchain in scratchbox as well.

Clearly, we weren't able to run the compiled applications, since the Qemu 
version provided with scratchbox only supports little-endian arm targets. 
So, we compiled a big-endian Qemu using scratchbox's devikit. However, our 
big-endian version of qemu is not able to succesfully run big-endian 
binaries! We tried a simple C program with some calls to fstat and printf, 
but the returns values are wrong.

Any help and suggestion is welcome.

         Claudio
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to