autoconf

René Berber r.berber@computer.org
Fri Dec 1 04:32:00 GMT 2006


René 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. 
> [snip]
> 
> One option is to do a cross build:
> 
> $ ./configure --build=i686-pc-cygwin --host=i686-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 enable
them.
-- 
René 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/



More information about the Cygwin mailing list