delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/04/13:31:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <E94FF01DFF6CD31186F4080009DC361503FCEDE1@nttwr2.tower.bldgs.butlermfg.org>
From: "Parker, Ron" <rdparker AT butlermfg DOT com>
To: "Gerrit P. Haase @ cygwin" <cygwin AT cygwin DOT com>
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)

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019