Bug #799: cross compile 1.9.1-preview1 is not possible http://redmine.ruby-lang.org/issues/show/799 Author: Luis Lavena Status: Open, Priority: Normal Target version: 1.9.1 Hello everybody. I tried to cross compile 1.9.1-preview1 under ubuntu. It succeeded with 1.8.6-p287 and p114 but failed with 1.9. Used the following compile flags: <pre><code>--host=i586-mingw32msvc --target=i386-mingw32 --build=i686-linux --enable-shared</code></pre> This is the snipped of the output <pre><code>make[1]: Leaving directory `/home/luislavena/sources/cross-ruby/builds/ruby-1.9.1-preview1' make -f enc.mk RUBY="ruby -I/home/luislavena/sources/cross-ruby/builds/ruby-1.9.1-preview1 -rfake " MINIRUBY="ruby -I/home/luislavena/sources/cross-ruby/builds/ruby-1.9.1-preview1 -rfake " encs make[1]: Entering directory `/home/luislavena/sources/cross-ruby/builds/ruby-1.9.1-preview1' mkdir -p .ext/i386-mingw32/enc .ext/i386-mingw32/enc/trans enc enc/trans make[1]: Leaving directory `/home/luislavena/sources/cross-ruby/builds/ruby-1.9.1-preview1' /home/luislavena/sources/cross-ruby/sources/ruby-1.9.1-preview1/ext/extmk.rb:338: undefined method `<<' for nil:NilClass (NoMethodError) make: *** [exts] Error 1 </code></pre> Attached is the complete output of my rake script. ---------------------------------------- http://redmine.ruby-lang.org