delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/30/23:32:45

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT 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 DOT GE19404 AT cox DOT net> <456F6D06 DOT 1050200 AT cygwin DOT com> <20061201002542 DOT GG19404 AT cox DOT net> <456F9741 DOT 20405 AT cygwin DOT com> <20061201030301 DOT GI19404 AT cox DOT net> <ekoah7$t1p$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019