Yasuhiro Matsumoto wrote:

> Latest version of ruby is 1.9.3. This API version is 1.9.1 (different from 
> ruby version).
> So, curently, we should specify RUBY_VER and RUBY_VER_LONG like following 
> on windows.
> 
> ------
> MSVC:
> nmake -f Make_mvc.mak RUBY=c:/ruby193 DYNAMIC_RUBY=yes RUBY_VER=191 
> RUBY_VER_LONG=1.9.1
> 
> MINGW32:
> mingw32-make -f Make_ming.mak RUBY=c:/ruby193 DYNAMIC_RUBY=yes RUBY_VER=191 
> RUBY_VER_LONG=1.9.1
> ------
> 
> But, if_ruby is checking DYNAMIC_RUBY_VER (= RUBY_VER) like following.
> 
> ------
> # if !defined(DYNAMIC_RUBY_VER) || (DYNAMIC_RUBY_VER < 18)
> ------
> 
> DYNAMIC_RUBY_VER is specified 191 above which is greater than 19. This will 
> make confusing.
> DYNAMIC_RUBY_VER/RUBY_VER must be 19. And name of dll 
> "msvcrt-ruby$(RUBY_VER).dll" must not use RUBY_VER.
> Below is a patch. This don't change the way to build.

Can you please also update the comments?  They are unclear about what
the command line arguments to make are exactly.  It would be useful to
give a couple of examples at least.


-- 
hundred-and-one symptoms of being an internet addict:
5. You find yourself brainstorming for new subjects to search.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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