g++ -shared and libstdc++.a specs bug?

Robert Collins robert.collins@itdomain.com.au
Sat Apr 13 01:58:00 GMT 2002


Using g++ -shared to build a C++ dll, it failed to link with a number of
missing symbols. Adding -lstdc++ to the link line fixed this. The
interesting point is that the static build worked fine.

I presume the correct solution is either a dllised libstdc++, or a specs
file tweak.

I'm not a g++ specs afficiondo, so this is just a heads up. If I get
time I may look into this more, but no promises.

Rob

--
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