History Report a problem
Article Edit this page Discussion

Build Vim in Windows with Cygwin

From Vim Tips Wiki

Jump to: navigation, search
 

Tip 531Previous TipNext Tip

Created: August 16, 2003 Complexity: basic Author: maxiangjiang Minimum version: 6.0 Karma: 26/12 Imported from: Tip#531


This tip is for those who are interested in building gvim.exe on Windows without using MSVC or BCC. The condition is that cygwin is installed.

Following are the three steps (under any shell and any directory).

cvs -z3 -d:pserver:anonymous@cvs.vim.org:/cvsroot/vim co vim
cd vim/src
make -f Make_cyg.mak IME=yes

I have tested under Windows 2000 and have used my own gvim.exe for months without any problem.

[edit] Comments

Dan Sharp has an end-to-end solution for almost all problems for Vim compiling on Windows: http://mywebpage.netscape.com/sharppeople/vim/howto/Vim-Compile-Win32-HOWTO/index.html


Use mwing32 -- gcc for windows. Builds native exe.

From http://www.mingw.org/

MinGW: A collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party DLLs.


Note that the resulting gvim.exe built from cygwin package is "native". It has no dependancy on cygwin.dll at all.


The gvim.exe produced does not use cygwin-style paths. I've got a lot of cygwin mounts that I would like to use.


Rate this article:

Share this article:

Hubs Highlights International Sites Wikia messages
Entertainment
Gaming
Cartoons & Comics
Science Fiction
Hobbies
Sports
See all...
Grand Theft Auto
Terminator Wiki
Legend of Zelda Wiki
Flash Gordon
Everquest II Wiki
Yo-Yo Wiki
German
Spanish
Chinese
Japanese
More...
Wikia is hiring for several open positions
Send this article to a friend
"Build Vim in Windows with Cygwin"
 
 
Hi!

I thought you'd like this page from Wikia!

http://vim.wikia.com

Come check it out!
Send confirmation