Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Michael H. Cox" To: Subject: RE: How do I build GCC 3.2-3 or is it broken ? Date: Fri, 13 Dec 2002 19:31:40 -0700 MIME-Version: 1.0 Message-ID: X-Priority: 3 (Normal) X-MSMail-Priority: Normal Content-Type: multipart/signed; micalg=SHA1; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_0067_01C2A2DB.F31AE9C0" Importance: Normal In-Reply-To: <002c01c2a2ca$08237470$a7e5b6ac@london289> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 ------=_NextPart_000_0067_01C2A2DB.F31AE9C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Check out the following: http://sources.redhat.com/ml/cygwin/2002-11/msg01045.html http://www.cygwin.com/ml/cygwin/2002-12/msg00426.html Mike P.S. Just in case you read this, Chris, didn't mean to upset you or apologize for you. I was just trying to encourage Anurag, who seemed a little discouraged. > -----Original Message----- > From: Aaron Gray [mailto:aarongray AT beeb DOT net] > Sent: Friday, December 13, 2002 10:07 AM > To: cygwin AT cygwin DOT com > Subject: How do I build GCC 3.2-3 or is it broken ? > > > Hello, > > I have tried to rebuild GCC 3.2-3 it builds the execs but unfortunately it > bombs out making some of the libraries. > > I may have mised something but I am not sure. How do I build CygWin GCC > 3.2-3 ? > I have installed CygWin then changed to the 'i686-pc-cygwin' > directory then > done a 'make'. > > Have I missed any configuration steps, or is GCC's library broken ? > > === > It looks like the following file is broken :- > > libstdc++-v3/libsupc++/pure.cc > > ~~~ > /usr/i686-pc-cygwin/gcc/xgcc -shared-libgcc > -B/usr/i686-pc-cygwin/gcc/ -nost > dinc > ++ -L/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/src > -L/usr/i686-pc-cygw > in/i > 686-pc-cygwin/libstdc++-v3/src/.libs > -B/usr/local/i686-pc-cygwin/bin/ -B/usr > /loc > al/i686-pc-cygwin/lib/ -isystem > /usr/local/i686-pc-cygwin/include -I../../../../ > src/gcc-3.2-3/libstdc++-v3/../gcc > -I../../../../src/gcc-3.2-3/libstdc++-v3/. > ./in > clude > -I/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygw > in - > I/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/include > -I../../../../src/g > cc-3 > .2-3/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -Wall > -Wno-format > -W > -Wwrite-strings -Winline -fdiagnostics-show-location=once > -ffunction-section > s -f > data-sections -g -c > ../../../../src/gcc-3.2-3/libstdc++-v3/libsupc++/pure.cc -o > pure.o > > cc1plus: warning: -ffunction-sections may affect debugging on some targets > In file included from /usr/include/unistd.h:8, > from > ../../../../src/gcc-3.2-3/libstdc++-v3/libsupc++/pure.cc:3 > 4: > ../../../../src/gcc-3.2-3/include/getopt.h:115: declaration of C function > `int > getopt()' conflicts with > /usr/include/sys/unistd.h:125: previous declaration `int getopt(int, char* > const*, const char*)' here > > make[3]: *** [pure.lo] Error 1 > make[3]: Leaving directory > `/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/libs > upc++' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3' > make[1]: *** [all-recursive-am] Error 2 > make[1]: Leaving directory > `/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3' > make: *** [all-target-libstdc++-v3] Error 2 > ~~~ > > Hope you can help, many thanks in advance, > > Aaron Gray > > > ------=_NextPart_000_0067_01C2A2DB.F31AE9C0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSq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