This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Building gcc under cygwin


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]