Problems building gcc with Cygwin

Palkin Andery support at pi.ccl.ru
Tue Jun 13 10:38:05 UTC 2000


Hello!

I'm trying to install gcc-2.95.2 on winNT (CygWin 20.0).
I'm doing next steps:
   - apply the patch gcc-2.95.2-rtems-20000427.diff.gz
   - Remove directories: - source\egcs-1.1b\libf2c
                         - source\egcs-1.1b\gcc\objc
                         - source\egcs-1.1b\gcc\f
   - link directories: -  ln -s ../newlib-1.8.0/newlib newlib
                       -  ln -s ../newlib-1.8.0/libgloss libgloss
   - configure:
               cd /build/egcs
               /source/gcc-2.95.2/configure --verbose \
                                            --target=m68k-rtems \
                                            --prefix=/gcc-m68k-rtems \
                                            --with-local-prefix=/gcc-m68k-rtems \
                                            --with-gnu-as \
                                            --with-gnu-ld \
                                            --with-newlib
   - compile by command "make cross" and at this step i am getting error:
             Building the C and C++ compiler
             make[1]: Entering directory `/build/egcs/gcc'
             cd /source/gcc-2.95.2/gcc && autoheader
             /bin/sh: autoheader: command not found
             make[1]: *** [/source/gcc-2.95.2/gcc/cstamp-h.in] Error 127
             make[1]: Leaving directory `/build/egcs/gcc'
             make: *** [cross] Error 2

Have You got any ideas?

After this I`m trying to install egcs-1.1.2. Applying patch i`m
getting:

patching file `gcc/ChangeLog'
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to gcc/ChangeLog.rej
patching file `gcc/config/t-rtems'
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to gcc/config/t-rtems.rej

Thanks.





More information about the users mailing list