Building gcc under cygwin

Vivin Suresh Paliath computer_maniac@hotmail.com
Thu Mar 22 13:17:00 GMT 2001


I am running into problems building GCC under 
cygwin.
 
I ran the configure like this:
 
gcc/configure --prefix=/usr 
--with-as=/usr/i686-pc-cygwin/bin/as.exe 
--with-ld=/usr/i686-pc-cygwin/bin/ld.exe --enable-threads
 
It configured and everything, but when I run the 
make bootstrap, it runs for a while and then fails with this 
error:
 
gcc -c  -DIN_GCC     
-g  -DHAVE_CONFIG_H    -I. -I../gcc/gcc 
-I../gcc/gcc/config  -I../gcc/gcc/../include 
../gcc/gcc/cp/g++spec.c In file included from 
../gcc/gcc/cp/g++spec.c:22: ../gcc/gcc/system.h:491: libiberty.h: No such 
file or directory make[2]: *** [g++spec.o] Error 1 make[2]: Leaving 
directory `/objdir/gcc' make[1]: *** [bootstrap] Error 2 make[1]: Leaving 
directory `/objdir/gcc' make: *** [bootstrap] Error 2
 
Is there something wrong with the way I have set up 
paths or something?
 
Thanks!
 
-Vivin



More information about the Gcc-help mailing list