Project

General

Profile

Actions

Backport #3824

closed

rbconfig.rb generated by cross-compilation do provide correct path for link process

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


Description

=begin
Hello,

I'm trying to cross-compile Ruby 1_8_7 branch using i686-w64-mingw32 (mingw-w64 project). I've managed successfully to cross-compile and install using patches provided in #2531, #3666 and #3822.

However, I've now encountered a problem. mkmf is confused about the location of msvcrt-ruby18 shared library to link to:


 $ ruby -I/Users/luis/Portile/i686-w64-mingw32/apps/ruby/1.8.7-head/lib/ruby/1.8:/Users/luis/Portile/i686-w64-mingw32/apps/ruby/1.8.7-head/lib/ruby/1.8/i386-mingw32 -rfake ../../../../ext/my_ext/extconf.rb
 

fake.rb is a simplified version of the one generated by Makefile.

Find attached both the generated Makefile and the fake.rb used by me.

The extension is a simple one, which just puts something to stdout.
=end


Files

Makefile (3.8 KB) Makefile luislavena (Luis Lavena), 09/13/2010 07:10 AM
fake.rb (699 Bytes) fake.rb luislavena (Luis Lavena), 09/13/2010 07:10 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0