This is the mail archive of the
mailing list for the Cygwin project.
RE: C++ Link Errors
- From: "Parker, Ron" <rdparker at butlermfg dot com>
- To: "Gerrit P. Haase @ cygwin" <cygwin at cygwin dot com>
- Date: Fri, 4 Jan 2002 12:31:29 -0600
- Subject: RE: C++ Link Errors
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