Hi tux,

2017/8/27 Sun 10:59:06 UTC+9 tux. wrote:
> I'm not sure if this is my or Vim's problem, so I won't try to "patch"
> it just yet:
> 
> As some of you know, I use to compile my own Vim builds on Visual
> Studio (MSVC from here on). This also means that I have to compile
> Ruby myself, since Vim, when compiled with MSVC, does not play well
> with the official Ruby installer's DLLs which are compiled with MinGW
> or so.
> 
> However, a self-compiled Ruby creates a file named
> 
> > vcruntime140-ruby240.dll
> 
> while Vim wants to have a DLL named
> 
> > msvcrt-ruby240.dll
> 
> (both x86, but a similar issue exists on x64).
> 
> Which of both names is wrong?

The Ruby dll name depends on the runtime dll it uses.
If Ruby is compiled by VC2015, it uses vcruntime140.dll, so the dll name
becomes vcruntime140-ruby240.dll.
If Ruby is compiled by MinGW, it uses msvcrt.dll, so the dll name
becomes msvcrt-ruby240.dll.

When you compile Vim, the first part of the Ruby dll name is decided by the
compiler version, but you can override it by setting RUBY_MSVCRT_NAME.

Didn't you set RUBY_MSVCRT_NAME explicitly?

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