>arm-uclinux-gcc -mbig-endian -Wall -Wstrict-prototypes -O2 -fomit-frame-pointe
>r
>-fno-strength-reduce -c -o essai.o essai.c
>arm-uclinux-ld -Ttext 0x1200000 essai.o -o essai
>arm-uclinux-ld: essai.o: compiled for a big endian system and target is little
>endian
This is a bug in arm-uclinux-gcc. It should be passing -mbig-endian through
to the linker; for some reason this is apparently not happening. Does it work
if you use a version of GCC built from the current development sources?
>Do I need to rebuild the toolchain with specific options so that I can build
>big endian code ?
No, it should just work. There is currently no way to ask for arm-uclinux
with the default being big endian, though it shouldn't be hard to add.
p.
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++