Mercurial > vim
comparison src/INSTALLpc.txt @ 27370:584f91cc2508 v8.2.4213
patch 8.2.4213: too much code for supporting old MSVC versions
Commit: https://github.com/vim/vim/commit/76687d27173e64d739ea371751697c03ad0821ef
Author: K.Takata <kentkt@csc.jp>
Date: Tue Jan 25 10:31:37 2022 +0000
patch 8.2.4213: too much code for supporting old MSVC versions
Problem: Too much code for supporting old MSVC versions.
Solution: Remove MSVC 2003 support. (Ken Takata, closes https://github.com/vim/vim/issues/9623)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 25 Jan 2022 11:45:06 +0100 |
parents | 7e9e53a0368f |
children | ef7d9789919d |
comparison
equal
deleted
inserted
replaced
27369:914c181ea864 | 27370:584f91cc2508 |
---|---|
153 OLDER VERSIONS | 153 OLDER VERSIONS |
154 | 154 |
155 The minimal supported version is Windows XP. Building with older compilers | 155 The minimal supported version is Windows XP. Building with older compilers |
156 might still work, but these instructions might be outdated. | 156 might still work, but these instructions might be outdated. |
157 | 157 |
158 If you need the executable to run on Windows 98 or ME, use the 2003 one | 158 If you need the executable to run on Windows 98 or ME, use the 2005 one |
159 |msvc-2003-toolkit| or |msvc-2005-express|, and use the source code before | 159 |msvc-2005-express|, and use the source code before 8.0.0029. |
160 8.0.0029. | |
161 | |
162 Visual C++ Toolkit 2003 *msvc-2003-toolkit* | |
163 ----------------------- | |
164 | |
165 NOTE: this most likely does not work | |
166 | |
167 You could download the Microsoft Visual C++ Toolkit 2003 from | |
168 http://msdn.microsoft.com/visualc/vctoolkit2003/ | |
169 Unfortunately this URL is no longer valid. Unofficial downloads appear to be | |
170 available from links mentioned on these pages (use at your own risk): | |
171 http://www.filewatcher.com/m/VCToolkitSetup.exe.32952488.0.0.html | |
172 http://feargame.net/wiki/index.php?title=Building_Source_with_the_VC2003_Toolkit | |
173 | |
174 This contains the command-line tools (compiler, linker, CRT headers, | |
175 and libraries) for Visual Studio .NET 2003, but not the Visual Studio IDE. | |
176 To compile and debug Vim with the VC2003 Toolkit, you will also need | |
177 |ms-platform-sdk|, |dotnet-1.1-redist|, |dotnet-1.1-sdk|, | |
178 and |windbg-download|. | |
179 | |
180 It's easier to download Visual C++ 2008 Express Edition, |msvc-2008-express|, | |
181 which is freely available in perpetuity. | |
182 | |
183 The free Code::Blocks IDE works with the VC2003 Toolkit, as described at | |
184 http://wiki.codeblocks.org/index.php?title=Integrating_Microsoft_Visual_Toolkit_2003_with_Code::Blocks_IDE | |
185 (This site also takes you through configuring a number of other | |
186 free C compilers for Win32.) | |
187 | |
188 To compile Vim using the VC2003 Toolkit and Make_mvc.mak, you must first | |
189 execute the following commands in a cmd.exe window (the msvcsetup.bat batch | |
190 file can be used): | |
191 | |
192 set PATH=%SystemRoot%\Microsoft.NET\Framework\v1.1.4322;%PATH% | |
193 call "%VCToolkitInstallDir%vcvars32.bat" | |
194 set MSVCVer=7.1 | |
195 call "%ProgramFiles%\Microsoft Platform SDK\SetEnv.Cmd" | |
196 set LIB=%ProgramFiles%\Microsoft Visual Studio .NET 2003\Vc7\lib;%LIB% | |
197 | |
198 Now you can build Vim with Make_mvc.mak. | |
199 | |
200 | |
201 Getting the Windows Platform SDK *ms-platform-sdk* | |
202 | |
203 You will also need a copy of the Windows Platform SDK. Specifically, you need | |
204 the Windows Core SDK subset of the Platform SDK, which contains the Windows | |
205 headers and libraries. You need to search for it, Microsoft keeps changing | |
206 the URL. | |
207 | |
208 | |
209 Getting the .NET Framework 1.1 Runtime *dotnet-1.1-redist* | |
210 | |
211 You need the .NET Framework 1.1 Redistributable Package from | |
212 http://www.microsoft.com/downloads/details.aspx?familyid=262d25e3-f589-4842-8157-034d1e7cf3a3 | |
213 or from Windows Update: | |
214 http://windowsupdate.microsoft.com/ | |
215 This is needed to install |dotnet-1.1-sdk|. It also contains cvtres.exe, | |
216 which is needed to link Vim. | |
217 | |
218 | |
219 Getting the .NET Framework 1.1 SDK *dotnet-1.1-sdk* | |
220 | |
221 You need the .NET Framework 1.1 SDK from | |
222 http://www.microsoft.com/downloads/details.aspx?familyid=9b3a2ca6-3647-4070-9f41-a333c6b9181d | |
223 This contains some additional libraries needed to compile Vim, | |
224 such as msvcrt.lib. You must install |dotnet-1.1-redist| before | |
225 installing the .NET 1.1 SDK. | |
226 | |
227 | |
228 Getting the WinDbg debugger *windbg-download* | |
229 | |
230 The Debugging Tools for Windows can be downloaded from | |
231 http://www.microsoft.com/whdc/devtools/debugging/default.mspx | |
232 This includes the WinDbg debugger, which you will want if you ever need | |
233 to debug Vim itself. An earlier version of the Debugging Tools | |
234 is also available through the Platform SDK, |ms-platform-sdk|. | |
235 | 160 |
236 | 161 |
237 Visual C++ 2005 Express Edition *msvc-2005-express* | 162 Visual C++ 2005 Express Edition *msvc-2005-express* |
238 ------------------------------- | 163 ------------------------------- |
239 | 164 |