Compiling gcc now

Robert J. Brown rj@eli.elilabs.com
Thu Feb 12 09:29:00 GMT 1998


>>>>> "Geoffroy" == Geoffroy Montel <g_montel@yahoo.com> writes:

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

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

    Geoffroy> ok

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


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

The problem might be addressed in the egcc faq at
/ftp.cygnus.com:/pub/egcc (I think that's it).

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
Robert Jay Brown III rj@eli.elilabs.com  http://www.elilabs.com 1 847 705-0424
Elijah Laboratories Inc.;  37 South Greenwood Avenue;  Palatine, IL 60067-6328
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------



More information about the crossgcc mailing list