Project

General

Profile

Actions

Bug #4094

closed

cross-compilation from Linux to Windows fails DL compilation

Added by luislavena (Luis Lavena) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]
[ruby-core:33438]

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

config.zip (20.7 KB) config.zip luislavena (Luis Lavena), 11/28/2010 05:54 AM
Makefile (6.31 KB) Makefile luislavena (Luis Lavena), 11/28/2010 05:54 AM
mkmf.log (4.32 KB) mkmf.log luislavena (Luis Lavena), 11/28/2010 05:54 AM
makefile-topdir-relative-to-builddir.patch (652 Bytes) makefile-topdir-relative-to-builddir.patch luislavena (Luis Lavena), 11/29/2010 10:34 PM

Related issues 1 (0 open1 closed)

Has duplicate Backport187 - Backport #2531: Ruby 1.8.7-p248 fails to cross-compile same versionClosedshyouhei (Shyouhei Urabe)12/26/2009Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0