This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I've successfully installed Binutils 2.8.1 for --target=m68k-coff --with-gnu-as --with-gnu-ld --nfp. Now trying to install GCC 2.7.2.2 with the same configuration, I get quite a ways until the following occurs: 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 _eprintf _op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline __main _exit _ctors _eh _pure; \ do \ echo ${name}; \ ./xgcc -B./ -O2 -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -I./include -I/usr/include -g1 -m68000 -I. -I. -I./config -c -DL${name} \ ./libgcc2.c -o ${name}.o; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ /usr2/styx/gnu/m68k-coff/bin/ar rc tmplibgcc2.a ${name}.o; \ rm -f ${name}.o; \ done _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 /var/tmp/cca00211.s: Assembler messages: /var/tmp/cca00211.s:97: Error: operands mismatch -- statement `tst.l %a4' ignored make[2]: *** [libgcc2.a] Error 1 make[2]: Leaving directory `/usr2/styx/gnu/src/gcc-2.7.2.2' make[1]: *** [stmp-multilib-sub] Error 2 make[1]: Leaving directory `/usr2/styx/gnu/src/gcc-2.7.2.2' make: *** [stmp-multilib] Error 1 satan % The error clearly indicates that while trying to build the libgcc2 for -m68000, the ./xgcc is emitting an opcode which is not valid for -m68000. This form of the instruction is valid for 68020 and beyond, but not 68000. Any help? Any patches for 2.7.2.2 to fix this problem? The patch at the Cygnus site doesn't correct this problem. Eric -- ___________________________________________________________ | | | Eric DeVolder Networked Multimedia Systems | | RISC Systems Engineering Interactive TV Systems | | | | Motorola, Inc. Phone: (512) 891-3455 | | 6501 William Cannon Drive West Fax: (512) 891-6721 | | Austin, TX 78735-8598 M/D: OE33 | | | | Email: devolder@risc.sps.mot.com | | Email: Eric_DeVolder@risc.sps.mot.com | / ) ( \ _( (|_____________________________________________________ ___|) ) /> (((\ \) /,) / ) / //))/ (\\\\ \_/ / \ \_/ ///// \ / \ / \ _/ \_ /