From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3550 invoked by alias); 11 Jul 2002 07:21:37 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 3422 invoked from network); 11 Jul 2002 07:21:36 -0000 Received: from unknown (HELO mail.ee.gatech.edu) (130.207.225.105) by sources.redhat.com with SMTP; 11 Jul 2002 07:21:36 -0000 Received: from ece.gatech.edu (ibb-407.ibb.gatech.edu [128.61.133.57]) by mail.ee.gatech.edu (8.12.3/8.12.1) with ESMTP id g6B7LWLY001238; Thu, 11 Jul 2002 03:21:32 -0400 (EDT) Message-ID: <3D2D3205.7080606@ece.gatech.edu> Date: Thu, 11 Jul 2002 03:47:00 -0000 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Available for test: gcc-3.1.1-2 gcc2-2.95.3-8 References: <20020711044304.GA3292@redhat.com> Content-Type: multipart/mixed; boundary="------------040801020508040504020104" X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-SW-Source: 2002-07/txt/msg00904.txt.bz2 --------------040801020508040504020104 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 6628 Christopher Faylor wrote: > Fixes in gcc2: > > -mno-cygwin works with c++ now? > > HOWEVER, I've fixed this problem by creating a separate g++-3 > directory in /usr/include. If you have a symbolic link there or > if you have modified files in that directory they will be wiped > out. Or, er, I actually don't know what will happen to the symbolic > link. It is probably a good idea to eliminate it before installing > the package. > > (I'm taking bets now on when we'll see the first bug report as a > result of this change.) Okay, there's just one thing I forgot to mention last time: there still is no mingw libstdc++(-2).a for gcc-2.95.3-8 (of course, 2.95.3-5 didn't have one either, so this is no big deal. However, since you're providing the mingw/g++-3 headers ... Anyway, see below. The attached test "suite" provides stripped down versions of the C, C++, and Fortran dllhelpers examples, plus several -mno-cygwin invocation scripts. I tested thus: unpack cd gcc-tests/c unset CC export CC make make clean export CC=mgcc make make clean export CC=gcc-2 make make clean export CC=mgcc-2 make make clean Then, same thing in the cxx directory, using CXX=[],mg++,g++-2,mg++-2. Ditto in f77 dir, using FC=[],mg77,g77-2,mg77-2 Results: 3.1.1: gcc works gcc -mno-cygwin works g++ works g++ -mno-cygwin works g77 works g77 -mno-cygwin works 2.95.3-8: /usr/lib/libstdc++.a.2.1.0 ?? what is this file? gcc-2 works gcc-2 -mno-cygwin works g++-2 works g++-2 -mno-cygwin links against the /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-8/libstdc++-2.a (oh yeah -- there is no mingw libstdc++ for this release. I copied my mingw libstdc++.a to libstdc++-2.a, and then got *different* errors) see below. Shouldn't be a mangling issue; it was build with 2.95.3-5. g77-2 breaks: /usr/lib/libcygwin.a(libcmain.o)(.text+0x81): undefined reference to `WinMain@16' g77-2 -mno-cygwin breaks: /usr/lib/mingw/libmingw32.a(main.o)(.text+0x8d):main.c: undefined reference to `WinMain@16' Note the g++-2 IS finding my custom libstdc++-2.a (which is a copy of a libstdc++.a that worked just fine with gcc-2.95.3-5). mg++-2 -o usedll.exe -g usedll.o -L./ -lcxxdll usedll.o: In function `main': /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `endl(ostream &)' usedll.o:/usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: more undefined references to `endl(ostream &)' follow usedll.o: In function `main': /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `cout' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:21: undefined reference to `ostream::operator<<(int)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `endl(ostream &)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `endl(ostream &)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `endl(ostream &)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `endl(ostream &)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `cout' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(int)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(int)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(char const *)' /usr/local/src/dllhelpers/dllhelpers-0.4.1/cxx/usedll.cc:29: undefined reference to `ostream::operator<<(int)' Info: resolving DllClass::instances by linking to __imp___8DllClass$instances (auto-import) Info: resolving _global_dllclass2 by linking to __imp__global_dllclass2 (auto-import) Info: resolving _global_dllclass1 by linking to __imp__global_dllclass1 (auto-import) Info: resolving _global_int_variable by linking to __imp__global_int_variable (auto-import) collect2: ld returned 1 exit status make: *** [usedll.exe] Error 1 --------------040801020508040504020104 Content-Type: application/octet-stream; name="gcc-tests.tar.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="gcc-tests.tar.bz2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9TEOAQO+gO0fTQUPGIVPpcF6vWO57dffcgyN+jgLKm8avA D8apRuoY6FShnqQ0ZdU6NnaJjsQsJ1Kmzn2LydXWBzUG0MncXYdLtmZ19TyB pz4p1jhUyFAmFwwPIwoL3fBRadGM/b1A7FW0Y9zG7GqMayq1Y2VChVUw869L 2OSpkoGYZq1CZxubDYexTWIHOmG6CZihAuQSoJn1C0djSonF2JmQkkYMgWXr Oc3fgvnBQIhtBN21j9U52LxcecCcGkocwwoLJbKBi3eWBdwNdNmlAjdzbtnx YySASWAMVAg0LoRbhBjxNGEBA2R8rxaVuG5UyahWYBuqHlUDNUbhsALQAiph 5V9evRxEDv5imTbc4269dYdcbAGq71tqMZHg0vUpFav0Atm1bFwKmG3MF1Kt 6FCrcMnTN2gZGYRUqoG1hYIhh1rjQjkMdQuriFO0wFz1ApqEKc9fMbFMVByl w2GKpXE2UDB2aXMbilGwEpoHPpx1AnyAxoB1GWfIgc4l6ugmg70QsBojH0NR 5mc8kigT+1UtkIylQ+DtVOPNd0DiCZgZBsggowWZ+CVLgS6aE06bUqq5bi2p IdBy2fFA8ob1TCBUXY9r1qJ8pE1IDkAN3u5Hqe1gV5+ttg2Zq+0w7WqcywJC AKKbCtbAIf8XckU4UJCkGEKj --------------040801020508040504020104 Content-Type: text/plain; charset=us-ascii Content-length: 214 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------040801020508040504020104--