A
Asfand Yar Qazi
Hi,
Anybody got Ruby to compile with a Linux to mingw32 cross compiler?
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?
Mauricio Fernández said: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
WATANABE said:Hi,
% 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
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.