delorie.com/archives/browse.cgi | search |
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:subject:to:references:from:cc:reply-to | |
:message-id:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=opZm5GhD1ZGDkkG7 | |
p327rScXrAR0Z2Ql/6SdAWuMeTCUfB6PwoYZN5Y5ctnrfK9GCDUED2vXaIOtW4Kw | |
B4vkjy+L6fr7IDDgHWnHWGNkQ1FmdY8TF5EjERVCM0Bc5eqnTGoz7T2qsOTPgSC0 | |
ZBmjVFh0DYrg/Lqcddl3cywRdFc= | |
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:subject:to:references:from:cc:reply-to | |
:message-id:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=mPA962eV/oS298dbDLV4Vb | |
7PFl0=; b=usaPmKmXl96bqTATHw17G/q0Az+BbW0wijL7r3Yh2zyFpogWHc8zvS | |
ubpulFPLHloxYIaSaWp9NooVimO0tm0bHV8vIWdR6YcDyH5cIdTPAL5GhgWNy/iU | |
jBD+nxqHckv2VfdAL4SK1ygAdO7fAZBLeXzBascnN8QjsHBLGUaV0= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_COUK,SPF_PASS autolearn=no version=3.3.2 |
X-HELO: | out.ipsmtp3nec.opaltelecom.net |
X-SMTPAUTH: | drstacey AT tiscali DOT co DOT uk |
X-IronPort-Anti-Spam-Filtered: | true |
X-IronPort-Anti-Spam-Result: | =?us-ascii?q?A2EvBABvJ0FW/8RV0lUNUYQOb79vQSOFa?= =?us-ascii?q?AMCAoF8EAEBAQEBAQEDgz4XFQsxAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE?= =?us-ascii?q?BDgINBlkBAQQ4QAEQLBYECwkDAgECAUUTCAEBiDewGIdGihMBAQEBAQUBAQEBA?= =?us-ascii?q?QEBARcEgi+Na1+EEgWSZ4NhhR6kTjiCb4FAcgEBAQGFYgEBAQ?= |
X-IPAS-Result: | =?us-ascii?q?A2EvBABvJ0FW/8RV0lUNUYQOb79vQSOFaAMCAoF8EAEBAQE?= =?us-ascii?q?BAQEDgz4XFQsxAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBDgINBlkBAQQ4Q?= =?us-ascii?q?AEQLBYECwkDAgECAUUTCAEBiDewGIdGihMBAQEBAQUBAQEBAQEBARcEgi+Na1+?= =?us-ascii?q?EEgWSZ4NhhR6kTjiCb4FAcgEBAQGFYgEBAQ?= |
Subject: | Building Poco for Cygwin (was: Re: Cannot fork process for: g++: cygPocoFoundation.32.dll: Loaded to different address) |
To: | cygwin AT cygwin DOT com |
References: | <563D9CA2 DOT 5090605 AT orange DOT fr> <563DA445 DOT 5060800 AT gmail DOT com> <563DB2AE DOT 4030304 AT tiscali DOT co DOT uk> <563E66EE DOT 9030209 AT tiscali DOT co DOT uk> <563E6A81 DOT 7070803 AT gmail DOT com> <563F661D DOT 50503 AT orange DOT fr> <563F72D7 DOT 5070908 AT cornell DOT edu> <5640BA7D DOT 2030102 AT orange DOT fr> <5640CD6F DOT 4030003 AT orange DOT fr> |
From: | David Stacey <drstacey AT tiscali DOT co DOT uk> |
Cc: | francis DOT andre DOT kampbell AT orange DOT fr |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <564128A7.3010605@tiscali.co.uk> |
Date: | Mon, 9 Nov 2015 23:13:43 +0000 |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <5640CD6F.4030003@orange.fr> |
X-IsSubscribed: | yes |
Hi Francis. If you're still keen to build Poco for Cygwin yourself, then it's probably worth looking at the patches and compiler settings that I use, as you may want to make use of them. Download the source, either using Cygwin's setup.exe or directly from a mirror [1], and unpack. The 'poco.cygport' file is used for building; it has bash-like syntax. There should be four patch files, each with the '.patch' extension. The most important thing is to build using the '-frepo' compiler flag when building Poco. This fixes a truly horrible crash when Poco's wide character strings are passed across a DLL boundary. This works at the expense of slowing the build somewhat. I wrote this up on a Poco GitHub ticket [2]. Cygwin's Poco is built unbundled, i.e. it uses the system zlib, pcre, etc. There are a couple of patches to support this. There is also a patch to fix 'testDequeue', as this test tries to compare two internal clocks of different accuracy, which fails randomly on Cygwin. The final patch gets Data/ODBC building with the iODBC library. There are some notes towards the end of the 'poco.cygport' file about running the testsuite, and you might find these useful. Hope this helps. Dave. [1] - https://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/x86/release/poco/poco-1.6.1-1-src.tar.xz [2] - https://github.com/pocoproject/poco/issues/723#issuecomment-93853102 -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |