Hi,
2018/9/17 Mon 12:49:34 UTC+9 Ken Takata wrote:
> Hi,
>
> I found a small mistake in src/msvc2015.bat.
>
> If the batch file is executed with the "x86_amd64" option, it enables the
> x86 cross compiler targeting x64. This should work both on Express edition
> and Community edition.
>
> VC2015 Community edition also has x64 native compiler, however, executing
> the batch file with the "x64" option didn't work as expected. This is because
> the enviromnent variable "Platform" was set to "X64" instead of "x64".
>
> Attached patch fixes the batch file and update the document.
And here is another trivial patch for src/INSTALLpc.txt.
It fixes some inconsistencies and adds some description.
Regards,
Ken Takata
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
# HG changeset patch
# Parent 54846ce2887fbbcd4f0d2af323359187528b3942
diff --git a/src/INSTALLpc.txt b/src/INSTALLpc.txt
--- a/src/INSTALLpc.txt
+++ b/src/INSTALLpc.txt
@@ -276,12 +276,12 @@ Download an installer:
Execute the installer and follow the instructions to update basic packages.
At the end keep the checkbox checked to run msys2 now. If needed, you can
-open the window from the start menu, MSYS2 64 bit / MSYS2 MSYS
+open the window from the start menu, MSYS2 64 bit / MSYS2 MSYS.
Execute:
$ pacman -Syu
-
-And restart MSYS2 window (select "MSYS2 MSYS" icon from the Start Menu).
+
+And restart MSYS2 console (select "MSYS2 MSYS" icon from the Start Menu).
Then execute:
$ pacman -Su
@@ -297,6 +297,7 @@ The following package groups are require
* mingw-w64-i686-toolchain (for building 32-bit Vim)
* mingw-w64-x86_64-toolchain (for building 64-bit Vim)
+(These groups also include some useful packages which are not used by Vim.)
Use the following command to install them:
$ pacman -S base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain
@@ -305,8 +306,18 @@ Or you can use the `pacboy` command to a
$ pacboy -S base-devel: toolchain:m
+The suffix ":" means that it disables the package name translation.
+The suffix ":m" means both i686 and x86_64. You can also use the ":i" suffix
+to install only i686, and the ":x" suffix to install only x86_64.
(See `pacboy help` for the help.)
+See also the pacman page in ArchWiki for the general usage of pacman:
+ https://wiki.archlinux.org/index.php/pacman
+
+MSYS2 has its own git package, and you can also install it via pacman:
+
+ $ pacman -S git
+
2.3. Keep the build environment up-to-date
@@ -316,7 +327,7 @@ In that case, you just need to execute t
$ pacman -Syu
-# Build Vim
+2.4. Build Vim
Select one of the following icon from the Start Menu:
@@ -329,7 +340,7 @@ Go to the source directory of Vim, then
make -f Make_ming.mak GUI=no
make -f Make_ming.mak GUI=no DEBUG=yes
-NOTE: you can't execute the vim.exe in the MSYS console, open a normal Windows
+NOTE: you can't execute the vim.exe in the MSYS2 console, open a normal Windows
console for that. You need to set $PATH to be able to build there, e.g.:
set PATH=c:\msys64\mingw32\bin;c:\msys64\usr\bin;%PATH%