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] |
Hi! all plese help me! When I try cygwin 1.3.6 to mips-sgi-irix6 cross compile,I encouter such problem: if [ -f libgcc2.ready ] ; then \ true; \ else \ touch libgcc2.ready; \ fi case " c proto gcov.exe c++ " in \ *" "[cC]"++ "*) \ echo tinfo.o tinfo2.o new.o opnew.o opnewnt.o opvnew.o opvnewnt.o opdel.o opdelnt.o opvdel.o opvdelnt.o exception.o > cplib2.new;; \ *) \ echo "" > cplib2.new;; \ esac mv -f cplib2.new cplib2.txt for i in `/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 --print-multi-lib`; do \ dir=`echo $i | sed -e 's/;.*$//'`; \ flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \ 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" \ RANLIB_FOR_TARGET="mips-sgi-irix6-ranlib" \ RANLIB_TEST_FOR_TARGET="[ -f mips-sgi-irix6-ranlib ] || ( [ "i686-pc-cygwin" = "mips-sgi-irix6" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \ LANGUAGES="c proto gcov.exe c++" \ HOST_PREFIX="" HOST_PREFIX_1="loser-" \ LIBGCC2_CFLAGS="-O2 -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED ${flags}" \ MULTILIB_CFLAGS="${flags}" \ LIBGCC1="" LIBGCC2="libgcc2.a" \ dir="${dir}" stmp-multilib-sub; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ done 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 I used binutils-2.11.2,gcc-2.95.3,gdb-5.0 Please help me! ------ 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] |