Mercurial > vim
comparison Makefile @ 12610:c6dc5d62cf5e v8.0.1183
patch 8.0.1183: MS-Windows build instructions are outdated
commit https://github.com/vim/vim/commit/18cfa940e2bbf657e8f90e6486812876198ef963
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 8 17:58:44 2017 +0200
patch 8.0.1183: MS-Windows build instructions are outdated
Problem: MS-Windows build instructions are outdated.
Solution: Update instructions for MSVC 2015. Update the build script.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 08 Oct 2017 18:00:05 +0200 |
parents | 5de2fb612f21 |
children | aca41efd888c |
comparison
equal
deleted
inserted
replaced
12609:89ca46c016d2 | 12610:c6dc5d62cf5e |
---|---|
126 # Put them in the top directory, "make dosrt" uses them. | 126 # Put them in the top directory, "make dosrt" uses them. |
127 # - > make dossrc | 127 # - > make dossrc |
128 # > make dosrt | 128 # > make dosrt |
129 # Unpack dist/vim##rt.zip and dist/vim##src.zip on an MS-Windows PC. | 129 # Unpack dist/vim##rt.zip and dist/vim##src.zip on an MS-Windows PC. |
130 # Win32 console version build: | 130 # Win32 console version build: |
131 # - Set environment for Visual C++ 2008, e.g.: | 131 # - See src/INSTALLpc.txt for installing the compiler and SDK. |
132 # > src/msvc2008.bat | 132 # - Set environment for Visual C++ 2015: |
133 # Or: | 133 # > cd src |
134 # > C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat | 134 # > msvc2015.bat |
135 # Or, when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the | 135 # - Build the console binary: |
136 # paths when necessary). | |
137 # For Windows 98/ME the 2003 version is required, but then the executable | |
138 # won't work on Windows 7 and 64 bit systems. | |
139 # - > cd src | |
140 # > nmake -f Make_mvc.mak | 136 # > nmake -f Make_mvc.mak |
141 # - Run the tests: | 137 # - Run the tests and check the ouput: |
142 # > nmake -f Make_mvc.mak testclean | 138 # > nmake -f Make_mvc.mak testclean |
143 # > nmake -f Make_mvc.mak test | 139 # > nmake -f Make_mvc.mak test |
144 # - check the output. | |
145 # - Rename (using ../tools/rename.bat): | 140 # - Rename (using ../tools/rename.bat): |
146 # vim.exe to vimw32.exe | 141 # vim.exe to vimw32.exe |
147 # tee/tee.exe to teew32.exe | 142 # tee/tee.exe to teew32.exe |
148 # xxd/xxd.exe to xxdw32.exe | 143 # xxd/xxd.exe to xxdw32.exe |
149 # vim.pdb to vimw32.pdb | 144 # vim.pdb to vimw32.pdb |
150 # install.exe to installw32.exe | 145 # install.exe to installw32.exe |
151 # uninstal.exe to uninstalw32.exe | 146 # uninstal.exe to uninstalw32.exe |
152 # Win32 GUI version build: | 147 # Win32 GUI version build: |
153 # - > cd src | 148 # - > cd src |
154 # > nmake -f Make_mvc.mak GUI=yes | 149 # > nmake -f Make_mvc.mak GUI=yes |
155 # - Run the tests: | 150 # - Run the tests and check the output: |
156 # > nmake -f Make_mvc.mak testclean | 151 # > nmake -f Make_mvc.mak testclean |
157 # > nmake -f Make_mvc.mak testgvim | 152 # > nmake -f Make_mvc.mak testgvim |
158 # - check the output. | |
159 # - move "gvim.exe" to here (otherwise the OLE version will overwrite it). | 153 # - move "gvim.exe" to here (otherwise the OLE version will overwrite it). |
160 # - Move gvim.pdb to here. | 154 # - Move gvim.pdb to here. |
161 # - Copy "GvimExt/gvimext.dll" to here. | 155 # - Copy "GvimExt/gvimext.dll" to here. |
162 # - Delete vimrun.exe, install.exe and uninstal.exe. | 156 # - Delete vimrun.exe, install.exe and uninstal.exe. |
163 # Win32 GUI version with OLE, PERL, Ruby, TCL, PYTHON and dynamic IME: | 157 # Win32 GUI version with OLE, PERL, Ruby, TCL, PYTHON and dynamic IME: |
164 # - Install the interfaces you want, see src/INSTALLpc.txt | 158 # - Install the interfaces you want, see src/INSTALLpc.txt |
159 # Adjust bigvim.bat to match the version of each interface you want. | |
165 # - Build: | 160 # - Build: |
166 # > cd src | 161 # > cd src |
167 # Adjust bigvim.bat to match the version of each interface you want. | |
168 # > bigvim.bat | 162 # > bigvim.bat |
169 # - Run the tests: | 163 # - Run the tests: |
170 # > nmake -f Make_mvc.mak testclean | 164 # > nmake -f Make_mvc.mak testclean |
171 # > nmake -f Make_mvc.mak testgvim | 165 # > nmake -f Make_mvc.mak testgvim |
172 # - check the output. | 166 # - check the output. |
189 # VisVim.dll in src/VisVim | 183 # VisVim.dll in src/VisVim |
190 # Note: VisVim needs to be build with MSVC 5, newer versions don't work. | 184 # Note: VisVim needs to be build with MSVC 5, newer versions don't work. |
191 # gvimext64.dll can be obtained from http://code.google.com/p/vim-win3264/ | 185 # gvimext64.dll can be obtained from http://code.google.com/p/vim-win3264/ |
192 # It is part of vim72.zip as vim72/gvimext.dll. | 186 # It is part of vim72.zip as vim72/gvimext.dll. |
193 # - Make sure there is a diff.exe two levels up (get it from a previous Vim | 187 # - Make sure there is a diff.exe two levels up (get it from a previous Vim |
194 # version). | 188 # version). Also put winpty32.dll and winpty-agent.exe there. |
195 # - go to ../nsis and do: | 189 # - go to ../nsis and do: |
196 # > makensis gvim.nsi (takes a few minutes). | 190 # > makensis gvim.nsi (takes a few minutes). |
197 # ignore warning for libwinpthread-1.dll | 191 # ignore warning for libwinpthread-1.dll |
198 # - Copy gvim##.exe to the dist directory. | 192 # - Copy gvim##.exe to the dist directory. |
199 # | 193 # |