Hi,
Anybody got Ruby to compile with a Linux to mingw32 cross compiler?
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
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?
--
Hassle-free packages for Ruby?
RPA is available from http://www.rubyarchive.org/
Hi,
Mauricio Fernández <batsman.geo@yahoo.com> writes:
> 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
On Sun, Nov 07, 2004 at 08:08:38PM +0900, Asfand Yar Qazi wrote:
--
eban
WATANABE Hirofumi wrote:
Hi,
Mauricio Fernández <batsman.geo@yahoo.com> writes:
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.
On Sun, Nov 07, 2004 at 08:08:38PM +0900, Asfand Yar Qazi wrote:
--