On Wed, Jun 30, 2010 at 10:03 PM, Charles <[email protected]> wrote:
> On Wed, Jun 30, 2010 at 9:46 PM, Tux <[email protected]> wrote:
>> Charles schrob am 30.06.2010 16:35:
>>
>> It is provided here
>> http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
>>
>> I begin to despair, seriously. This one "works" but does not really like VS
>> 2008 (read: won't compile). Ruby 1.8 did.

With a little change I have sucessfully compiled vim73 branch with VS
2010 and ruby 1.9.1-mswin32. Here are the changes I have done

ruby/config.h: comment the top 3 lines
//#if _MSC_VER != 1200
//#error MSC version unmatch: _MSC_VER: 1200 is expected.
//#endif

if_ruby.c: move NtInitialize after RUBY_INIT_STACK
#ifdef _WIN32
            /* suggested by Ariya Mizutani */
            int argc = 1;
            char *argv[] = {"gvim.exe"};
#endif
#ifdef RUBY19_OR_LATER
            RUBY_INIT_STACK;
#endif
#ifdef _WIN32
            NtInitialize(&argc, &argv);
#endif

My config line
RUBY=[path to]\ruby-1.9.1-mswin32 DYNAMIC_RUBY=yes RUBY_VER=191
RUBY_VER_LONG=1.9.1

The result: at least :ruby print 'Hello' works :D

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui