Issue #1412 has been updated by Luis Lavena.

File config.h added
File config.status added
File config.log added
File rbconfig.rb added

Hello,

I've tried to cross-compile ruby_1_8_7 branch directly again, and this time the error is different, and still do not completes:

compiling dl
Generating callback.func
mkmf.rb can't find header files for ruby at /Users/luis/.rvm/rubies/ruby-1.8.7-p299/lib/ruby/ruby.h
make[1]: *** [callback.func] Error 1
make: *** [all] Error 1

--

Steps to reproduce:

Using Ruby 1.8.7 (RVM), checkout ruby_1_8_7 branch.

mkdir build187 && cd build187
sh -c "../configure --enable-shared --disable-install-doc --with-winsock2 --host=i386-mingw32"

I'm using OSX 10.6.4 with macports for mingw:

[ruby-1.8.7-p299] luis@seyori:~/projects/oss/ruby/build187$ port installed | grep mingw
  i386-mingw32-binutils @2.19.1_0 (active)
  i386-mingw32-gcc @3.4.5-20060117-2_1 (active)
  i386-mingw32-runtime @3.15.2_0 (active)
  i386-mingw32-w32api @3.13_0 (active)

Find attached config.h, config.status, config.log and the generated rbconfig.rb

----------------------------------------
http://redmine.ruby-lang.org/issues/show/1412

----------------------------------------
http://redmine.ruby-lang.org