sponsor Vim development Vim logo Vim Book Ad

basic Tip #46: Win32 binaries with perl, python, and tcl

 tip karma   Rating 8/6, Viewed by 1778 

created:   March 12, 2001 12:33      complexity:   basic
author:   [email protected]      as of Vim:   5.7

> Does anyone know if windows binaries of vim 5.7 are available with perl and
> python support turned on?

ftp://vim.sourceforge.net/pub/vim/upload_binaries/

http://vim.sourceforge.net/bin_download/

 rate this tip  Life Changing Helpful Unfulfilling 

<<Using command-line history | Swapping characters, words and lines >>

Additional Notes

Robert Bogomip <[email protected]>, June 6, 2001 1:38
If you have VisualC++ 6.0, then you are well recommended to use the really cool delay loading feature to delay-load the perl DLLs. The advantage of this is that if your machine doesn't have a suitable perl DLL available, then gvim will still run fine (so long as you don't try to use any perl inside the vim session of course). Oh, and since the Perl DLL uses the C runtime in DLL form (msvcrt.dll), then gvim/vim should also do this (that's "/MD" in uSoft speak). In Makefile,w32 I use:

  CFLAGS = $(CFLAGS) -DNDEBUG /Ox /G6 /Ob1 /Os /MD /Gy
  PERL_LIB = /DelayLoad:perl56.dll $(PERL)\Lib\Core\perl56.lib DelayImp.lib

(i.e., the link line has "/DelayLoad:perl56.dll" added. Some stub code is required to support delay loading, and uSoft supply this in DelayImp.lib). I also find that I need to append "/I $(PERL)\Lib\MSWin32-x86\Core" to PERL_INC too.
[email protected], February 4, 2002 11:53
http://www.cs.fhm.edu/~ifw00065/vim/

The current CVS version of Vim (post 6.0.158) compiled for Windows with the Python interface enabled (Python 2.2) plus VisVim and OLE. IOW, everything like the standard 6.0.0 release from the Vim folks, just newer and with Python 2.2 support. Using the latest NSIS installer with bip2 compression, it's also much smaller than the original. It's only 2.3 megs :-)
If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
Sponsored by Web Concept Group Inc. SourceForge Logo