Bram Moolenaar wrote:
> eagletmt wrote:
>
> > I found that Vim cannot be compiled with --enable-rubyinterp=dynamic
> > on 64bit platform if the Ruby's version is 2.0.0. I attached a patch
> > to fix it. Please check it.
>
> Thanks. I hope a few people can try it out.
I checked the patch on Windows with the following compilers:
* MSVC10 (32 bit) + Ruby 2.0.0
* MinGW (64 bit) + Ruby 2.0.0
Both worked fine.
Thanks,
Ken Takata
Sorry, my name is Kohei Suzuki.
I have tested my patch on 32bit/64bit Linux with Ruby 1.9.3 and 2.0.0.
Was this patch applied already?
I tried compiling a 64 bit windows but if failed complaining that some include file could not be found.
If possible could this patch be included for the next release?
A small example on how to use rubydo (similar to the example on how to use perldo) would be useful for people like me, that don't know much about ruby but would like to learn.
Also for the next release, if possible would it be possible to distribute a 64 bit for windows as well a 32 bit?
Thanks!
From http://vim.wikia.com/wiki/Where_to_download_Vim, reasons one might want a 64-bit version:
1. Editing files >4GB in size.
2. 64-bit WinPE does not have a WOW64 subsystem, hence you cannot run a 32-bit executable.
3. Windows Server 2008 R2 (i.e. Win7 Server) also does not have the WOW64 subsystem, by default, although it is an optional component you can install.
4. Potential for performance gains, particularly in heavy memory operations like memcpy and memcmp which can be optimized for the 64-bit word size.
5. Getting 32-bit Vim into a 64-bit "Edit with Vim" context menu entry is tricky.
Also, related to WOW64, accessing native commands which only have a 64-bit version (like chcp) will fail without a workaround.
Well, I have downloaded the 64 bit 2.0-p195 rubyinstaller from http://rubyinstaller.org/downloads/
and configured ruby with
RUBY="C:\htemp\Ruby200-x64" DYNAMIC_RUBY=yes RUBY_VER=20 RUBY_VER_LONG=2.0.0 ^
when compiling I get the error:
c:\htemp\ruby200-x64\include\ruby-2.0.0\ruby/ruby.h(24) : fatal error C1083: Cannot open include file: 'ruby/c
onfig.h': No such file or directory
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\x86_amd64\cl.EXE"' : r
eturn code '0x2'
Stop.
if I don't include the configuration for ruby then I can compile fine (Included patches 1-944).
Is there a different installer I should be using or different configuration options?
>
>
> > A small example on how to use rubydo (similar to the example on how to
>
> > use perldo) would be useful for people like me, that don't know much
>
> > about ruby but would like to learn.
>
> >
>
> > Also for the next release, if possible would it be possible to
>
> > distribute a 64 bit for windows as well a 32 bit?
>
>
>
> It's not all that useful. It uses more memory, is probably a bit
>
> slower. I haven't heard real practical advantages. But perhaps that
>
> changed with Windows 8?
>
I am not sure how much bigger the memory usage will be, but I would not think it would be that big.
64 bit windows users will probably already use 64 bit python and perl so if there is a 64 bit vim they won't have to install additional 32 bit versions.
Jorge
Oh, I forgot that I had a slightly modified make file. It will work if you add
-DMS_WIN64
to DEFINES on line 329 (Make_ming.mak)
Windows Preinstallation Environment
http://en.wikipedia.org/wiki/Windows_Preinstallation_Environment
http://technet.microsoft.com/en-us/library/hh825110.aspx
Basically, a live CD.