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]

gcc 3.2 Irix6.5 cross-compiler error


Hello all,
I was building gcc 3.2 as a cross-compiler from i686 linux to
mips-sgi-irix6.5. I used the following configure command:

./configure --target=mips-sgi-irix6.5 --with-bfd-assembler --with-gnu-as
--with-gnu-ld --program-suffix=-mips --prefix=/home/dimav/mipsgcc
--enable-targets=mips-sgi-irix6.5

Binutils configured and built fine, I configured the gcc 3.2 core, but
when I did make, i got the following error:

/include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.  -I.
-I. -I./. -I./config
-I./../include -DL_muldi3 -c ./libgcc2.c -o libgcc/./_muldi3.oas:
unrecognized option `-O0'
make[2]: *** [libgcc/./_muldi3.o] Error 1

What went wrong, and is there a way for me to create a MIPS
cross-compiler for i686-linux by using GCC 3.2?
Thanks for everybody's help.



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