Ben Haskell wrote:

> On Thu, 2 Aug 2012, Bram Moolenaar wrote:
> 
> >
> > I have a new PC with Windows 7 that I want to use to build Vim for 
> > distribution.  [...]
> >
> > Now building with all the interfaces.  I installed:
> > [...]
> > Ruby 1.9.2  (from www.garbagecollect.jp, see help file)
> >     Rename include dir from 1.9.1 to 1.9.2
> >     Remove check for _MSC_VER from config.h
> >     Copy bin/msvcrt-ruby191.dll to C:\Windows\msvcrt-ruby192.dll
> > [...]
> >
> > The Ruby install has 1.9.1 files even though I installed 1.9.2, very 
> > confusing. I just renamed the files.
> 
> Possibly important from a packaging perspective:
> 
> You shouldn't have to rename the files.  Ruby 1.9.2 and 1.9.3 are 
> "library compatible" with 1.9.1?.  It seems like it'd be a PITA to have 
> to compile against a specific, non-standard version of Ruby.

The DLL distributed must have changed, but it was still called 191.

Having a .h file in a directory with a version that differs from the
distributed version is not going to help anyone, just make things more
complicated since there are two versions to specify.  I'm trying not to
call this a bug, but I would consider it.

> The official (MRI) Ruby page points Windows users to: 
> http://rubyinstaller.org/
> 
> However, it's compiled against MinGW.  Is that one of the problems 
> (linking against different runtimes) the garbagecollect.jp version is 
> avoiding?  The help (:help ruby) didn't seem particularly clear as to 
> why the weird version was required.

I think it indeed matters what runtime it is compiled against.  When
building with MSVC I assume we do need the msvcrt version of the .dll.

Anyway, it's just a hassle to do the renaming, it does appear to work.
Unlike the Perl interface.

-- 
hundred-and-one symptoms of being an internet addict:
205. You're constantly yelling at your spouse, family, roommate, whatever,
     for using the phone for stupid things...like talking.

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

Raspunde prin e-mail lui