Successful build of CVS GCC under Cygwin!
Jan Reimers
janr@molienergy.com
Mon Dec 4 11:27:00 GMT 2000
Kelly, ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ Thanks for
the update, this is useful information.ÃÂ I followed your directions and
'make bootstrap' seemed to run ok.ÃÂ However when I run 'make -k check' all
c++ tests fail with undefined references.ÃÂ Is this what you
see? libtool: link: warning: `-no-install' is ignored for
i586-pc-cygwin libtool: link: warning: assuming `-no-fast-install'
instead /usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/../../gcc/g++
-B/usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/../../gcc/ -ggdb3
-DDEBUG_ASSERT -ffunction-sections -fdata-sections -nostdinc++
-I/usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/include
-I../../../gcc/libstdc++-v3/include/std -I../../../gcc/libstdc++-v3/include/c
-I../../../gcc/libstdc++-v3/include -I../../../gcc/libstdc++-v3/libsupc++
-I../../../gcc/libstdc++-v3/libio -I../../../gcc/libstdc++-v3/testsuite
../../../gcc/libstdc++-v3/testsuite/17_intro/header_ciso646.cc -o
/usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/testsuite/header_ciso646.st-exe
-nodefaultlibsÃÂ
/usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/src/../libsupc++/.libs/libsupc++.a
/usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/src/.libs/libstdc++.a
-lgcc ../../../gcc/libstdc++-v3/testsuite/17_intro/header_ciso646.cc:0:
warning: -ffunction-sections ÃÂ ÃÂ may affect debugging on some
targets. /usr/lib/crt0.o(.text+0x39):crt0.c: undefined reference to
`cygwin_crt0' /usr/home/c/TEMP/ccQXvWHi.o: In function
`main': /usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/../../../gcc/libstdc++- v3/testsuite/17_intro/header_ciso646.cc:125:
undefined reference to
`__assert' /usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/../../../gcc/libstdc++-v3/testsuite/17_intro/header_ciso646.cc:125:
undefined reference to
`__assert' /usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/../../../gcc/libstdc++-v3/testsuite/17_intro/header_ciso646.cc:125:
undefined reference to
`__assert' /usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/../../../gcc/libstdc++-v3/testsuite/17_intro/header_ciso646.cc:125:
undefined reference to
`__assert' /usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/../../../gcc/libstdc++-v3/testsuite/17_intro/header_ciso646.cc:125:
undefined reference to
`__assert' /usr/home/c/TEMP/ccQXvWHi.o:/usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/../../../gcc/libstdc++-v3/testsuite/17_intro/header_ciso646.cc:125:
more undefined references to `__assert' follow /usr/home/c/TEMP/ccQXvWHi.o:
In function
`main': /usr/home/d/src/build/i586-pc-cygwin/libstdc++-v3/../../../gcc/libstdc++-v3/testsuite/17_intro/header_ciso646.cc:120:
undefined reference to `__main' collect2: ld returned 1 exit
status > -----Original Message----- > From: Kelley Cook [ mailto:Kelley.Cook@home.com ] >
Sent: Thursday, November 30, 2000 2:42 PM > To: gcc@gcc.gnu.org >
Subject: Successful build of CVS GCC under Cygwin! > > > 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