This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: STLport with the Cygwin/MinGW compiler
Hallo Alex,
I've recompiled the STLport library now, it seems that it doesn't work
with the DLL, when I link against the static library it works:
> ====== 7. File bar.cpp -> Run : BEGIN ======
> $ bar_orig
> PARAM1 = (ABCD)
> PARAM2 = (12345)
> PARAM3 = (XYZ)
> $ bar_port
> PARAM1 = (ABCD)
> PARAM2 = (
> ====== 7. File bar.cpp -> Run : END ========
$ g++ -o bar_stl.o -c bar.cpp -Istlport
$ g++ -o bar_stl bar_stl.o ./lib/libstlport_cygwin.a
$ ./bar_stl
PARAM1 = (ABCD)
PARAM2 = (12345)
PARAM3 = (XYZ)
Since libstdc++ is also static, it will be a fair race if both
times the static archive is used.
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/