This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Recently I try build a cross gcc host on cygwin 1.3.6 to target mips-sgi-irix6. I am successful on binutils-2.11-2 and gdb-5.0. But when I try gcc-2.95.3,I encouter such error: make[2]: Entering directory `/cygdrive/c/unix/CrossGcc/BUILD/gcc/gcc' rm -f libgcc2.a if [ -d . ]; then \ cd .; \ rm -f libgcc.a crtbegin.o crtend.o; \ else true; \ fi make GCC_FOR_TARGET="/cygdrive/c/unix/CrossGcc/BUILD/gcc/gcc/xgcc -B/cygdrive/c/unix/CrossGcc/BUILD/gcc/gcc/ -B/usr/local/sgi-irix/mips-sgi-irix6/bin/ -I/usr/local/sgi-irix/mips-sgi-irix6/include" \ AR_FOR_TARGET="mips-sgi-irix6-ar" \ AR_FLAGS_FOR_TARGET="rc" \ CC="gcc" CFLAGS="-g -O2" \ HOST_PREFIX="" HOST_PREFIX_1="loser-" \ LANGUAGES="c proto gcov.exe c++" \ LIBGCC2_CFLAGS="-O2 -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " libgcc2.a make[3]: Entering directory `/cygdrive/c/unix/CrossGcc/BUILD/gcc/gcc' rm -f tmplibgcc2.a for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \ do \ echo ${name}; \ /cygdrive/c/unix/CrossGcc/BUILD/gcc/gcc/xgcc -B/cygdrive/c/unix/CrossGcc/BUILD/gcc/gcc/ -B/usr/local/sgi-irix/mips-sgi-irix6/bin/ -I/usr/local/sgi-irix/mips-sgi-irix6/include -O2 -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I/cygdrive/c/unix/CrossGcc/gcc-2.95.3/gcc -I/cygdrive/c/unix/CrossGcc/gcc-2.95.3/gcc/config -I/cygdrive/c/unix/CrossGcc/gcc-2.95.3/gcc/../include -c -DL${name} \ /cygdrive/c/unix/CrossGcc/gcc-2.95.3/gcc/libgcc2.c -o ${name}.o; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ mips-sgi-irix6-ar rc tmplibgcc2.a ${name}.o; \ rm -f ${name}.o; \ done _muldi3 as: unrecognized option `-O2' make[3]: *** [libgcc2.a] Error 1 make[3]: Leaving directory `/cygdrive/c/unix/CrossGcc/BUILD/gcc/gcc' make[2]: *** [stmp-multilib-sub] Error 2 make[2]: Leaving directory `/cygdrive/c/unix/CrossGcc/BUILD/gcc/gcc' make[1]: *** [stmp-multilib] Error 1 make[1]: Leaving directory `/cygdrive/c/unix/CrossGcc/BUILD/gcc/gcc' make: *** [all-gcc] Error 2 What's the matter? ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |