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.)

Regards,
Ken Takata

-- 
-- 
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.

Raspunde prin e-mail lui