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 Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: "Parker, Ron" To: "Gerrit P. Haase @ cygwin" Subject: RE: C++ Link Errors Date: Fri, 4 Jan 2002 12:31:29 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain 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/