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 cross compiler problems



Ok thanks for all the help so far.  

I am running RedHat 4.1 linux.
I am using binutils-2.8.1.
I am using gcc-2.7.2.2

I can build and install binutils with no problem.

I can't seem to build gcc-2.7.2.2.

I believe I am following the instructions exactly.  

Thanks for any help.
-Mike

P.S. Here is my latest results:
.
.
. Lots of stuff deleted
.
.


mv tmplibgcc.a ./libgcc.a
make[1]: Leaving directory `/home/mad/build-gcc'
make[1]: Entering directory `/home/mad/build-gcc'
rm -f m68000/libgcc.a libgcc2.a
make GCC_FOR_TARGET="./xgcc -B./" \
  AR="/bar/m68k-aout/bin/ar" AR_FLAGS="rc" CC="cc" CFLAGS="-g" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  LIBGCC2_CFLAGS="-Dinhibit_libc -O2  -DCROSS_COMPILE -DIN_GCC   -g -I./include  -g1  -m68000" libgcc2.a
make[2]: Entering directory `/home/mad/build-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 _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; \
  /bar/m68k-aout/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
/tmp/cca02273.s: Assembler messages:
/tmp/cca02273.s:70: Error: operands mismatch -- statement `tstl a4' ignored
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/home/mad/build-gcc'
make[1]: *** [stmp-multilib-sub] Error 2
make[1]: Leaving directory `/home/mad/build-gcc'
make: *** [stmp-multilib] Error 1
[root@titicaca build-gcc]# exit
exit

Script done on Sat Dec 20 13:04:21 1997