Successful build of CVS GCC under Cygwin!
Kelley Cook
Kelley.Cook@home.com
Thu Nov 30 14:42:00 GMT 2000
After three months of being in no-bootstrap land, the current CVS
download of GCC 2.97 successfully bootstraps under Cygwin.
Essentially, a change to GCC in August exposed a bug in Cygwin's
implemenation of mmunmap ().
Two caveats,
a) You need to be running a pre-release cygwin1.dll 1.1.7 dated
11-28-00 or later, which incorporates a one line fix to cygwin/mmap.cc
This is available at
ftp://ftp.freesoftware.com/pub/sourceware/cygwin/snapshots
b) You need David Anglin's one line correction to system.h available at
http://gcc.gnu.org/ml/gcc-patches/2000-11/msg00908.html in order to
build Java. This is an obvious generic bug, BTW, and really should be
applied to the tree.
As has always been the case with Cygwin, it is necessary to
delete/rename the copy of texinfo that comes with GCC and specify
include the option "--with-included-gettext" with the original
configure command. ie:
$ mv /gccsrcdir/texinfo /gccsrcdir/texinfo.sav
$ /gccsrcdir/configure --with-included-gettext
More information about the Gcc
mailing list