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]

m68k-coff target build problem with gcc-2.7.2.2 , binutils-2.8.1.


Hello,
I'm getting the following error while trying to build gcc-2.7.2.2 for an
m68k-coff target.  Can anyone please help?
Thanks,
Jim


make GCC_FOR_TARGET="./xgcc -B./" \
  AR="/install/m68k-coff/bin/ar" AR_FLAGS="rc" CC="gcc" CFLAGS="-g" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  LIBGCC2_CFLAGS="-Dinhibit_libc -O2  -DCROSS_COMPILE -DIN_GCC   -g
-I./include
 -g1  -m68000" libgcc2.a
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 _fix
unsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf
__gcc_bcmp _varar
gs _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./ -Dinhibit_libc -O2  -DCROSS_COMPILE -DIN_GCC   -g
-I./include  -g1
  -m68000 -I. -I../gcc-2.7.2.2 -I../gcc-2.7.2.2/config -c -DL${name} \
      ../gcc-2.7.2.2/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  /install/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
C:\TEMP/cc005542.s: Assembler messages:
C:\TEMP/cc005542.s:97: Error: operands mismatch -- statement `tst.l %a4'
ignored

make[2]: *** [libgcc2.a] Error 1
make[1]: *** [stmp-multilib-sub] Error 2
make: *** [stmp-multilib] Error 1
bash-2.01$