This is the mail archive of the gcc@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]

RE: Successful build of CVS GCC under Cygwin!


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
>
>


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