WATANABE Hirofumi wrote:
> Hi,
> 
> Mauricio Fern?ndez <batsman.geo / yahoo.com> writes:
> 
> 
>>On Sun, Nov 07, 2004 at 08:08:38PM +0900, Asfand Yar Qazi wrote:
>>
>>>Hi,
>>>
>>>Anybody got Ruby to compile with a Linux to mingw32 cross compiler?
>>
>>It is fairly easy.
>>On my system (Debian unstable) I just had to edit the configure script
>>to remove the setpgrp test(*) and run
>>  ./configure --host=i586-mingw32msvc
>>  make
>>  
>>(*) otherwise you'd get
>>checking whether setpgrp takes no argument... configure: error: cannot
>>check setpgrp when cross compiling
> 
> 
> % env ac_cv_func_getpgrp_void=no \
>   ac_cv_func_setpgrp_void=yes \
>   ac_cv_func_memcmp_working=yes \
>   rb_cv_binary_elf=no \
>   rb_cv_negative_time_t=no \
>   ./configure \
>   --host=i586-mingw32msvc \
>   --target=i386-mingw32 \
>   --build=i686-linux
> % make
> 

Thanks.

What's with the i586-mingw32msvc?  I'm using i386-mingw32.... I don't 
understand what msvc has to do with it.

Thanks for the replies, much appreciated.


-- 
http://www.it-is-truth.org/