[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debian on origin200: crosscompiling gcc

Hi, it's me again... :)

I have downloaded gcc3.3.4 sources and done something like this:

bash# ./configure --target=mips64-linux --prefix=/opt/gcc --program-prefix=mips64-linux-gcc --with-gnu-as --with-gnu-ld --disable-nls

and after that:
bash# make

And after "while" (hours pased...):
/bin/sh ./mkconfig.sh tconfig.h
echo '#define FLOAT' > fp-bit.c
echo '#ifdef __MIPSEL__' >> fp-bit.c
echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
echo '#endif' >> fp-bit.c
cat ./config/fp-bit.c >> fp-bit.c
echo '#ifdef __MIPSEL__' > dp-bit.c
echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
echo '#endif' >> dp-bit.c
cat ./config/fp-bit.c >> dp-bit.c
/usr/local/src/gcc-3.3.4/gcc/xgcc -B/usr/local/src/gcc-3.3.4/gcc/
-B/opt/gcc/mips64-linux/bin/ -B/opt/gcc/mips64-linux/lib/ -isystem
/opt/gcc/mips64-linux/include -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
-I. -I. -I. -I./. -I./config -I./../include  -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss  \
  -Dinhibit_libc -c ./crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
as: unrecognized option -EB'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory /usr/local/src/gcc-3.3.4/gcc'
make: *** [all-gcc] Error 2


So, I think he is trying to do bigendian, which i do need, but for somw reason can't do it... Help?


Reply to: