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

Re: debian on origin200: crosscompiling gcc

f13o wrote:
> /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

This usually means that gcc tries to invoke the native i386 as instead
of the mips64-linux-as. IIRC the workaround was to add
AS_FOR_TARGET=mips64-linux-as to the configure environment.


Reply to: