C++ Link Errors
Parker, Ron
rdparker@butlermfg.com
Fri Jan 4 10:31:00 GMT 2002
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/
More information about the Cygwin
mailing list