X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: autoconf
Date:  Thu, 30 Nov 2006 22:32:16 -0600
Lines: 38
Message-ID: <ekob8g$ae$1@sea.gmane.org>
References:  <20061130220408.GE19404@cox.net> <456F6D06.1050200@cygwin.com> <20061201002542.GG19404@cox.net> <456F9741.20405@cygwin.com> <20061201030301.GI19404@cox.net> <ekoah7$t1p$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
In-Reply-To: <ekoah7$t1p$1@sea.gmane.org>
OpenPGP: url=hkp://random.sks.keyserver.penguin.de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Ren=E9 Berber wrote:
> Bob Rossi wrote:
> [snip]
>> Here's the full story. I'm trying to build apr. It needs to be built
>> with mingw in order to have thread support. It specifically disables
>> thread support with cygwin.
>>
>> So, instead of getting the mingw
>> environment, I'd like to use the cygwin environment cause I my build
>> system builds many other packages.
>>
>> I can't figure out how to get past this problem. Any help at all would
>> be greatly appreciated.=20
> [snip]
>=20
> One option is to do a cross build:
>=20
> $ ./configure --build=3Di686-pc-cygwin --host=3Di686-pc-mingw32
> [...]
> Checking for Threads...
> [...]
> APR will use threads
> [...]

Oops! configure bombs out before finishing, with :

checking whether setpgrp takes no argument... configure: error: cannot check
setpgrp when cross compiling

Well as I said, that was just one option... the other that comes to mind is=
 to
see why apr disables threads if configured for Cygwin, and change that to e=
nable
them.
--=20
Ren=E9 Berber


--
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/

