Mercurial > vim
diff src/INSTALLpc.txt @ 10138:8bfcb960e6bd v7.4.2340
commit https://github.com/vim/vim/commit/6384c5db8dda70076c878d393ba19a1510695228
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 6 22:06:35 2016 +0200
patch 7.4.2340
Problem: MS-Windows: Building with Ruby uses old version.
Solution: Update to 2.2.X. Use clearer name for the API version. (Ken
Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 06 Sep 2016 22:15:07 +0200 |
parents | 219dbe63ad2a |
children | 3a6b2d4c71d6 |
line wrap: on
line diff
--- a/src/INSTALLpc.txt +++ b/src/INSTALLpc.txt @@ -598,11 +598,11 @@ you need some tricks described below. When building, you need to set the following variables at least: - RUBY: Where ruby is installed. E.g. C:\Ruby22 - DYNAMIC_RUBY: Whether dynamic linking is used. Usually, set to yes. - RUBY_VER: Ruby version. E.g. 22 for Ruby 2.2.X. - RUBY_VER_LONG: Ruby API version in a long format. - E.g. 2.2.0 for Ruby 2.2.X. + RUBY: Where ruby is installed. E.g. C:\Ruby22 + DYNAMIC_RUBY: Whether dynamic linking is used. Usually, set to yes. + RUBY_VER: Ruby version. E.g. 22 for Ruby 2.2.X. + RUBY_API_VER_LONG: Ruby API version in a long format. + E.g. 2.2.0 for Ruby 2.2.X. Ruby version vs. Ruby API version: @@ -653,7 +653,7 @@ config.h and Ruby's DLL name. Here are t 4) Build Vim. Note that you need to adjust some variables (as one line): nmake -f Make_mvc.mak - RUBY=C:\Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_VER_LONG=2.2.0 + RUBY=C:\Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_API_VER_LONG=2.2.0 RUBY_MSVCRT_NAME=msvcrt WINVER=0x501 @@ -668,7 +668,7 @@ Using MinGW is easier than using MSVC wh After you install RubyInstaller, just type this (as one line): mingw32-make -f Make_ming.mak - RUBY=C:/Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_VER_LONG=2.2.0 + RUBY=C:/Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_API_VER_LONG=2.2.0 WINVER=0x501 If you set WINVER explicitly, it must be set to >=0x500, when building with