Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sun, 2 Nov 2003 10:54:31 +0100
From: "Gerrit P. Haase" <gp@familiehaase.de>
Reply-To: "Gerrit @ cygwin" <cygwin@cygwin.com>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <46863102485.20031102105431@familiehaase.de>
To: "Alex Vinokur" <alexvn@connect.to>
CC: cygwin@cygwin.com
Subject: Re: STLport with the Cygwin/MinGW compiler
In-Reply-To: <bo13h2$am9$1@sea.gmane.org>
References: <bnr72n$li9$1@sea.gmane.org>
 <157-1772867639.20031030154714@familiehaase.de>    <bntl4h$jci$1@sea.gmane.org>
 <43-1680745334.20031031172236@familiehaase.de> <bnuacn$6iu$1@sea.gmane.org>
 <118743930094.20031101014819@familiehaase.de> <bnvmhe$um1$1@sea.gmane.org>
 <bo00lr$baj$1@sea.gmane.org> <75783230946.20031101124319@familiehaase.de>
 <bo13h2$am9$1@sea.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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/

