This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: cygwin does not compile
- From: Thomas Wolff <towo at towo dot net>
- To: cygwin-developers at cygwin dot com
- Date: Wed, 14 Oct 2009 13:28:00 +0200
- Subject: Re: cygwin does not compile
- References: <4AD4C3A0.9090503@cwilson.fastmail.fm>
Charles Wilson wrote:
Thomas Wolff wrote:
Corinna Vinschen wrote:
gcc 4.3.4 is a prerequisit to build the latest Cygwin.
...
http://cygwin.com/ml/cygwin-announce/2009-09/msg00030.html
Thanks. So I downloaded and called set-gcc-default-4.sh, but gcc -v
still reports gcc 3.
I could workaround this by putting /etc/alternatives in front of my
PATH, but I don't think I'm supposed to have to do this (not documented
anywhere, and manual pages are there, too).
Now I ran a "make distclean" which gave me this error:
Doing distclean in i686-pc-cygwin/winsup
make[2]: Entering directory `/usr/src/cygwin-1.7.0-62/i686-pc-cygwin/winsup'
make[2]: *** No rule to make target `distclean'. Stop.
make[2]: Leaving directory `/usr/src/cygwin-1.7.0-62/i686-pc-cygwin/winsup'
make[1]: *** [distclean-target-winsup] Error 1
make[1]: Leaving directory `/usr/src/cygwin-1.7.0-62'
make: *** [do-distclean] Error 2
Then, after a "make clean", I tried to configure and make again but it
still fails with:
gcc -L/usr/src/cygwin-1.7.0-62/i686-pc-cygwin/winsup
-L/usr/src/cygwin-1.7.0-62/i686-pc-cygwin/winsup/cygwin
-L/usr/src/cygwin-1.7.0-62/i686-pc-cygwin/winsup/w32api/lib -isystem
/usr/src/cygwin-1.7.0-62/winsup/include -isystem
/usr/src/cygwin-1.7.0-62/winsup/cygwin/include -isystem
/usr/src/cygwin-1.7.0-62/winsup/w32api/include
-B/usr/src/cygwin-1.7.0-62/i686-pc-cygwin/newlib/ -isystem
/usr/src/cygwin-1.7.0-62/i686-pc-cygwin/newlib/targ-include -isystem
/usr/src/cygwin-1.7.0-62/newlib/libc/include
-I/usr/src/cygwin-1.7.0-62/winsup/cygwin/include
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\"
-DPACKAGE_VERSION=\"1.17.0\" -DPACKAGE_STRING=\"newlib\ 1.17.0\"
-DPACKAGE_BUGREPORT=\"\" -I. -I../../../.././newlib/libc/argz -O2
-DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB
-DHAVE_BLKSIZE -DHAVE_FCNTL -DMALLOC_PROVIDED -fno-builtin -g -O2
-c -o lib_a-argz_add.o `test -f 'argz_add.c' || echo
'../../../.././newlib/libc/argz/'`argz_add.c
In file included from
/usr/src/cygwin-1.7.0-62/newlib/libc/include/sys/config.h:186,
from
/usr/src/cygwin-1.7.0-62/newlib/libc/include/_ansi.h:16,
from
/usr/src/cygwin-1.7.0-62/newlib/libc/include/sys/reent.h:13,
from
/usr/src/cygwin-1.7.0-62/newlib/libc/include/sys/errno.h:11,
from
/usr/src/cygwin-1.7.0-62/newlib/libc/include/errno.h:9,
from
/usr/src/cygwin-1.7.0-62/newlib/libc/include/argz.h:10,
from ../../../.././newlib/libc/argz/argz_add.c:7:
/usr/src/cygwin-1.7.0-62/winsup/cygwin/include/cygwin/config.h:41:27:
../tlsoffsets.h: No such file or directory
make[5]: *** [lib_a-argz_add.o] Error 1
?
Thomas