X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: autoconf Date: Thu, 30 Nov 2006 22:32:16 -0600 Lines: 38 Message-ID: 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> 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: OpenPGP: url=hkp://random.sks.keyserver.penguin.de X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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/