Subject: Re: STLport with the Cygwin/MinGW compiler
From: "Gerrit P. Haase" <[email-masked]>
To: "Alex Vinokur" <[email-masked]>
Cc: [email-masked]
Date: Sun, 2 Nov 2003 10:54:31 +0100

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/