Ken Takata wrote: > 2017/10/8 Sun 10:12:27 UTC+9 Ken Takata wrote: > > Hi Bram, > > > > 2017/10/8 Sun 5:22:03 UTC+9 Bram Moolenaar wrote: > > > Ken Takata wrote: > > > > > > > 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. > > > > > > Aha, that's why I didn't manage to figure it out. I'll change the > > > instructions to use Ruby 2.4 by default, since it will now also > > > recomment MSVC 2015. > > > > > > Next problem is that TCL doesn't work: > > > libcmt.lib(initializers.obj) : warning LNK4098: defaultlib 'msvcrt.lib' > > > conflict > > > s with use of other libs; use /NODEFAULTLIB:library > > > msvcrt.lib(_chandler4gs_.obj) : error LNK2001: unresolved external symbol > > > __exce > > > pt_handler4_common > > > > 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.) > > 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?
It's there in my local version. I'll make some more changes for MSVC 2015 to help users pick the right version of everything. -- Error:015 - Unable to exit Windows. Try the door. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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.
