I wrote a patch for improving VC2015 support.
* Add src/msvc2015.bat.
* Update makefiles so that subsystem version can be properly specified.
(gvimext.dll, install.exe, uninstal.exe, tee.exe and xxd.exe)
* Update src/INSTALLpc.txt.
(Also includes updated description of MZSCHEME_VER.)
According to *new-msvc-windows-xp* in INSTALLpc.txt, we need some settings
for targeting Windows XP using VC2012 or later. However, the settings were
not so easy. msvc2015.bat makes it easier.
Regards,
Ken Takata
2017/10/8 Sun 4:44:43 UTC+9 Bram Moolenaar wrote:
> Ken Takata wrote:
>
> > I wrote a patch for improving VC2015 support.
> >
> > * Add src/msvc2015.bat.
> > * Update makefiles so that subsystem version can be properly specified.
> > (gvimext.dll, install.exe, uninstal.exe, tee.exe and xxd.exe)
> > * Update src/INSTALLpc.txt.
> > (Also includes updated description of MZSCHEME_VER.)
> >
> > According to *new-msvc-windows-xp* in INSTALLpc.txt, we need some settings
> > for targeting Windows XP using VC2012 or later. However, the settings were
> > not so easy. msvc2015.bat makes it easier.
>
> Building works for console and gvim, now I'm trying to build with
> interfaces.
>
> The instructions for Ruby say:
> cd ruby
> win32\configure.bat
>
> For me this always fails with:
> win32\rtname: conftest.exe is not linked to msvcrt
>
> Even though it just build. Any way to fix this or work around it?
> I installed Ruby 2.2.6 and now using msvc 2015.
Unfortunately, Ruby 2.3 or earlier cannot be built by VC2015 or later.
Only Ruby 2.4 (or later) can be built by VC2015 or later.
Regards,
Ken Takata
ActiveTcl should be also updated to 8.6.6. That's the reason why I had to
update the compiler to VC2015 on the vim-win32-installer repository.
You might also need an additional build option: TCL_DLL=tcl86t.dll
(Actually, I don't set this on vim-win32-installer yet. When I tried to set
it, if_tcl couldn't find the DLL on AppVeyor but it worked on my local PC.
Not sure what's happen.)
Regards,
Ken Takata
I thought I had sent the following patch about TCL_DLL:
--- a/src/INSTALLpc.txt
+++ b/src/INSTALLpc.txt
@@ -721,6 +721,10 @@ When building, you need to set the follo
TCL_VER: Tcl version in a short format. E.g. 86 for Tcl 8.6.X.
TCL_VER_LONG: Tcl version in a long format. E.g. 8.6 for Tcl 8.6.X.
+Sometimes the Tcl dll name changes. E.g. ActiveTcl 8.6.4 comes with tcl86.dll
+but ActiveTcl 8.6.6 comes with tcl86t.dll. You can set the dll name by settin
+the TCL_DLL variable. (Default: tcl86.dll)
+
E.g. When using MSVC (as one line):
nmake -f Make_mvc.mak
But this was not included in v8.0.0989.
Isn't this or something similar description needed?
Regards,
Ken Takata