This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ trouble building MIPS gcc on Linux pc]




Hello,
I'm trying to build a MIPS big-endian cross compiler for gcc ver 3.0.4 on a Linux pc (Intel cpu) using [native] gcc ver 3.2.



I configure with the following: ./configure --target=mips-\*-linux-gnu

OR
./configure --target=mipsbe-\*-linux-gnu

then just run make.

In either case I get an error message:
/export/home/bob/tools/gcc/gcc-3.0.4/gcc/xgcc -B/export/home/bob/tools/gcc/gcc-3.0.4/gcc/ -B/usr/local/mips-*-linux-gnu/bin/ -B/usr/local/mips-*-linux-gnu/lib/ -isystem /usr/local/mips-*-linux-gnu/include -DCROSS_COMPILE -DIN_GCC -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 -Dinhibit_libc \
-c ./crtstuff.c -DCRT_BEGIN -o crtbegin.o
as: unrecognized option `-EB'



It seems the big-endian option is being passed to the native assembler which chokes on it.
What should I do differently? The same behavior occurs when I use an earlier [native] version of gcc.


Any insights would be appreciated.

Robert T. Trask








Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]