This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
g++ -shared and libstdc++.a specs bug?
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "Cygwin" <cygwin at sources dot redhat dot com>
- Date: Sat, 13 Apr 2002 18:24:31 +1000
- Subject: g++ -shared and libstdc++.a specs bug?
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/