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]

Re: STLport with the Cygwin/MinGW compiler


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?
Wanted to say:                   ^^^^^^^ with --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/


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