summaryrefslogtreecommitdiffstats
path: root/src/msys32.bat
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-06-30 16:27:02 +0200
committerBram Moolenaar <Bram@vim.org>2018-06-30 16:27:02 +0200
commit304925e75031751fc87b51e387eb079bf3ae2066 (patch)
treeecc8d9c67626ca00beab2535760941d67b7213b9 /src/msys32.bat
parent7c365fb190225d98af818daf195dc19921fe01ca (diff)
patch 8.1.0128: building with MinGW does not work out-of-the-boxv8.1.0128
Problem: Building with MinGW does not work out-of-the-box. Solution: Add instructions for MSYS2. Set default WINVER. Add batch files to set $PATH for MSYS2.
Diffstat (limited to 'src/msys32.bat')
-rwxr-xr-xsrc/msys32.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/msys32.bat b/src/msys32.bat
new file mode 100755
index 0000000000..6c9b81dd9f
--- /dev/null
+++ b/src/msys32.bat
@@ -0,0 +1,6 @@
+@echo off
+rem To be used on MS-Windows for Msys2 with the 32 bit MinGW compiler.
+rem Adjust the "c:\msys64" part to match your installation.
+@echo on
+
+set PATH=c:\msys64\mingw32\bin;c:\msys64\usr\bin;%PATH%