Actions
Bug #4094
closedcross-compilation from Linux to Windows fails DL compilation
Description
=begin
Hello,
When cross-compiling ruby_1_8_7 branch under Ubuntu 10.04 (mingw32 cross compiler package), it fail with the following output:
==
compiling dl
make[1]: Entering directory /home/user/projects/oss/cross-build/ext/dl' Generating callback.func mkmf.rb can't find header files for ruby at ../ruby/ruby.h make[1]: *** [callback.func] Error 1 make[1]: Leaving directory
/home/user/projects/oss/cross-build/ext/dl'
make: *** [all] Error 1
The configure options used:
sh ../ruby/configure --enable-shared --disable-install-doc --host=i586-mingw32msvc --target=i386-mingw32
Attached find config.log (zipped), Makefile and mkmf.log from dl.
Thank you.
=end
Files
Updated by luislavena (Luis Lavena) about 14 years ago
=begin
Please find attached a patch for this issue, is a backport of fake.rb from trunk as it defined top_srcdir relative to the builddir
=end
Updated by luislavena (Luis Lavena) about 14 years ago
- Status changed from Open to Closed
=begin
Issue solved by r30051. Closing this ticket.
=end
Actions
Like0
Like0Like0