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]

Compiling gcc now


Hello there

Thanks to those who helped me.
I managed to build binutils 2.8.1
Now I'm trying to build gcc2.8.0.
I run Cygwin 32

$ CC=gcc ./configure --target=m68k-rtems --with-gnu-as --with-gnu-ld
--prefix=/mydir --exec-prefix=/mydir --with-local-prefix=/mydir
--with-gxx-include=/mydir

ok

$ make CC="gcc" CFLAGS="-O4 -g" LANGUAGES="proto c c++"
[...]
rm -f tmplibgcc1.a libgcc1.S
cp ./config/m68k/lb1sf68.asm libgcc1.S
for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _double _float
_floatex _e
qdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2
_ltsf2 _lesf
2; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2  -DCROSS_COMPILE -DIN_GCC    -O4 -g -I./include  
-g1 -DIN_LIB
GCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions -I. -I. -I./config -c
-DL${name} libg
cc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  /gcc/m68k-rtems/bin/ar rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_mulsi3
as: unrecognized option `-c68020'
make: *** [libgcc1-asm.a] Error 1


I can't find the right line on the Makefile.

Thanks in advance for any help!

Geoffroy

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com