From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6706 invoked by alias); 4 Jan 2002 18:31:07 -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 Received: (qmail 6677 invoked from network); 4 Jan 2002 18:31:06 -0000 Received: from unknown (HELO mail.butlermfg.com) (12.13.78.28) by sources.redhat.com with SMTP; 4 Jan 2002 18:31:06 -0000 Received: from nttwr2.tower.bldgs.butlermfg.org ([172.16.1.20]) by mail.butlermfg.com with Microsoft SMTPSVC(5.5.1877.197.19); Fri, 4 Jan 2002 12:17:54 -0600 Received: by nttwr2.tower.bldgs.butlermfg.org with Internet Mail Service (5.5.2653.19) id ; Fri, 4 Jan 2002 12:31:30 -0600 Message-ID: From: "Parker, Ron" To: "Gerrit P. Haase @ cygwin" Subject: RE: C++ Link Errors Date: Fri, 04 Jan 2002 10:31:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-SW-Source: 2002-01/txt/msg00171.txt.bz2 Solution found. I had built and installed various alternate versions of gcc into /usr/local. Despite the fact that I placed /usr/local/bin after /usr/bin in my path so that I would get the default cygwin gcc for this project, /usr/bin/gcc was still passing -L/usr/local/lib before -L/usr/lib when it called collect2. My first solution was to mv away /usr/local/lib/libstdc++.a. I realize this is not a longterm solution, but it's a start. I will try rebuilding my gcc 3.0.3 into /usr and then attempt to use the "-V 2.95.3-5" argument to gcc when I need standard cygwin gcc. I hope this helps anyone with a similar problem in the future. -- 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/