I'm assuming you are creating the environment from scratch, so you don't have an actual target environment to try your compiled binaries with to test if it was a problem with your big-endian qemu.
Can you be more specific about the problem, ie. what was the simple program and what was it's output? Jussi Claudio Scordino wrote: > 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-devel mailing list > [email protected] > http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel _______________________________________________ Scratchbox-devel mailing list [email protected] http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel
