Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
10137:8e6070686e81 | 10138:8bfcb960e6bd |
---|---|
596 (Another binary distribution is ActiveScriptRuby: | 596 (Another binary distribution is ActiveScriptRuby: |
597 http://www.artonx.org/data/asr/) | 597 http://www.artonx.org/data/asr/) |
598 | 598 |
599 When building, you need to set the following variables at least: | 599 When building, you need to set the following variables at least: |
600 | 600 |
601 RUBY: Where ruby is installed. E.g. C:\Ruby22 | 601 RUBY: Where ruby is installed. E.g. C:\Ruby22 |
602 DYNAMIC_RUBY: Whether dynamic linking is used. Usually, set to yes. | 602 DYNAMIC_RUBY: Whether dynamic linking is used. Usually, set to yes. |
603 RUBY_VER: Ruby version. E.g. 22 for Ruby 2.2.X. | 603 RUBY_VER: Ruby version. E.g. 22 for Ruby 2.2.X. |
604 RUBY_VER_LONG: Ruby API version in a long format. | 604 RUBY_API_VER_LONG: Ruby API version in a long format. |
605 E.g. 2.2.0 for Ruby 2.2.X. | 605 E.g. 2.2.0 for Ruby 2.2.X. |
606 | 606 |
607 Ruby version vs. Ruby API version: | 607 Ruby version vs. Ruby API version: |
608 | 608 |
609 Ruby ver. | Ruby API ver. | 609 Ruby ver. | Ruby API ver. |
610 ========================= | 610 ========================= |
651 Note that 2.2.0 is Ruby API version of Ruby 2.2.X. | 651 Note that 2.2.0 is Ruby API version of Ruby 2.2.X. |
652 | 652 |
653 4) Build Vim. Note that you need to adjust some variables (as one line): | 653 4) Build Vim. Note that you need to adjust some variables (as one line): |
654 | 654 |
655 nmake -f Make_mvc.mak | 655 nmake -f Make_mvc.mak |
656 RUBY=C:\Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_VER_LONG=2.2.0 | 656 RUBY=C:\Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_API_VER_LONG=2.2.0 |
657 RUBY_MSVCRT_NAME=msvcrt | 657 RUBY_MSVCRT_NAME=msvcrt |
658 WINVER=0x501 | 658 WINVER=0x501 |
659 | 659 |
660 If you set WINVER explicitly, it must be set to >=0x500, when building | 660 If you set WINVER explicitly, it must be set to >=0x500, when building |
661 with Ruby 2.1 or later. (Default is 0x501.) | 661 with Ruby 2.1 or later. (Default is 0x501.) |
666 | 666 |
667 Using MinGW is easier than using MSVC when linking with RubyInstaller. | 667 Using MinGW is easier than using MSVC when linking with RubyInstaller. |
668 After you install RubyInstaller, just type this (as one line): | 668 After you install RubyInstaller, just type this (as one line): |
669 | 669 |
670 mingw32-make -f Make_ming.mak | 670 mingw32-make -f Make_ming.mak |
671 RUBY=C:/Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_VER_LONG=2.2.0 | 671 RUBY=C:/Ruby22 DYNAMIC_RUBY=yes RUBY_VER=22 RUBY_API_VER_LONG=2.2.0 |
672 WINVER=0x501 | 672 WINVER=0x501 |
673 | 673 |
674 If you set WINVER explicitly, it must be set to >=0x500, when building with | 674 If you set WINVER explicitly, it must be set to >=0x500, when building with |
675 Ruby 2.1 or later. (Default is 0x501.) | 675 Ruby 2.1 or later. (Default is 0x501.) |
676 | 676 |