X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=VnGZ9hXU0yF1/9XXnnLMf9ch8huA7KFlBxRzgdlzyOY wL/6Wcrga+uBio7M3whMsn3viEHVkylltFIffsVRAKXx2tO1FQqVDKVAIQBGEgRx mSNn9lazX5HXdD4d0L5/rPz+CoNojKwue1GvRR17ciZ+eTt2zyQtjGvOX65W2x4g = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=Jme0MFpY/o8fG3nvGajrLjZeQIw=; b=hKCr0+LsanYMMwLsG rs63JonO6sl3DYulYodK3S0YQiYkoH73DcCnkFwDE+3MlIbXyifHhnZsJZP04jjH bUgbBnuGYsoLoGZThIYgK98YJ33VBFoz+CkOUIAxFo23lkbbrjIu4MPJQHU7fZnO YGf8miidu15TadbqAe7kDtMEGg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,SPF_PASS autolearn=no version=3.3.2 X-HELO: out.ipsmtp2nec.opaltelecom.net X-SMTPAUTH: drstacey AT tiscali DOT co DOT uk X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CWAQBEbClV//NS0lUNT4dPxkuCVwMCAoF9AQEBAQEBhR0BAQEDASMVMw0GCwsYAgIFFgsCAgkDAgECAUUTCAEBF4gHtV5wljABAQEHAQEBAR6BIYoKhQMWglKBRQWOco1GkAKDTYQSgzEBAQE X-IPAS-Result: A2CWAQBEbClV//NS0lUNT4dPxkuCVwMCAoF9AQEBAQEBhR0BAQEDASMVMw0GCwsYAgIFFgsCAgkDAgECAUUTCAEBF4gHtV5wljABAQEHAQEBAR6BIYoKhQMWglKBRQWOco1GkAKDTYQSgzEBAQE Message-ID: <55296D17.4000001@tiscali.co.uk> Date: Sat, 11 Apr 2015 19:51:03 +0100 From: David Stacey User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: static vs. shared linking References: <5510A9AB DOT 7020607 AT tiscali DOT co DOT uk> <5511AF73 DOT 9070607 AT tiscali DOT co DOT uk> <20150325090453 DOT GB3017 AT calimero DOT vinschen DOT de> <551339E4 DOT 60705 AT tiscali DOT co DOT uk> <20150330105529 DOT GJ29875 AT calimero DOT vinschen DOT de> <5519A0E1 DOT 6020707 AT tiscali DOT co DOT uk> <20150331090527 DOT GB32403 AT calimero DOT vinschen DOT de> <551ACCE2 DOT 3000103 AT tiscali DOT co DOT uk> <5526351D DOT 2000307 AT tiscali DOT co DOT uk> <20150409172453 DOT GB6901 AT calimero DOT vinschen DOT de> In-Reply-To: <20150409172453.GB6901@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 09/04/15 18:24, Corinna Vinschen wrote: > On Apr 9 09:15, David Stacey wrote: >> The solution is to compile with '-frepo', which works for both my test code >> and also poco-1.6.0 - although it has quite an impact on the compilation >> time (it trebles what was already a fairly lengthy compilation). Do you >> think this is the correct way to proceed, or should I look to explicitly >> export an instantiation of the std::basic_string<>s that Poco creates? > Sorry, I'm not an expert on this template stuff. Seriously, you're missing all the fun ;-) > But if -frepo works > for you it sounds like the right thing to go forward. Thanks for your reply. OK, I'll stick with '-frepo'. I suspect that users of the Poco library will also be forced to use '-frepo' (otherwise they'll find themselves with the same problem I had). That shouldn't be too much of a hardship. I'll be sure to include that on the announcement. Dave. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple