This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]