This is the mail archive of the
mailing list for the Cygwin project.
Re: STLport with the Cygwin/MinGW compiler
>> Since libstdc++ is also static, it will be a fair race if both
>> times the static archive is used.
> libstlport_cygwin.a works fine.
> I tried to do the same thing with mingw.
> c++ -shared -o ...
This is wrong, you must also link with -mno-cygwin flag to get the
right libstdc++ in /usr/lib/mingw.
Add it to DYN_LINK:
DYN_LINK=c++ -mno-cygwin -shared -o
However, the link to the static archive also fails, maybe because the
MinGW version of gcc was built without --disable-nls?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html