[uClibc]big endian on ARM
Kyle Harris
kharris at nexus-tech.net
Wed May 14 12:48:12 UTC 2003
Hi,
I'm trying to build uClibc for big endian Xscale (IXP425). I'm using the
gcc-2.95.3 built for big endian (downloaded from
http://sourceforge.net/projects/gatewaymaker/). I changed Config and
Rules.mak to include -mbig-endian and -EB for CFLAGS and LDFLAGS. Everything
compiles and mostly links until this occurs:
/usr/local/armbe/bin/arm-linux-ar rv ./tmp/libgcc-need.a
Finding missing symbols in libc.a ...
partial linking...
../libc.a(getttyent.o): In function `setttyent':
getttyent.o(.text+0x4c4): Oddly enough, __fsetlocking() is NOT threadsafe.
/usr/local/armbe/bin/arm-linux-ld: ../../lib/crt0.o: compiled for a big
endian system and target is little endian
File in wrong format: failed to merge target specific data of file
../../lib/crt0.o
What am I doing wrong?
Thanks, Kyle.
More information about the uClibc
mailing list