STLport with the Cygwin/MinGW compiler

Gerrit P. Haase gp@familiehaase.de
Sun Nov 2 14:40:00 GMT 2003


Hallo Alex,

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


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list