|
Vim: Compiling HowTofor Vim on 32-bit Windows systemsLast change: 2011-12-24 09:53 UTC |
Back to "The Vim Editor" Back to Welcome page |
#if _MSC_VER != 1200 #error MSC version unmatch #endifwhich generate a compile error in every C compiler other than one version of Microsoft Visual C (including any C compiler not made by Microsoft). If you find them, comment away the #error line.
echo %username%@%userdomain%at the "Dos" prompt and look at the answer.
bunzip2 vim-7.0.tar.bz2This uncompresses it, removes the .bz2 extension, and makes it understandable to WinZip.
cd /cygdrive/d/devel/vim/vim70
patch -p0 < patches/7.0.001
patch -p0 < patches/7.0.002
etc., for all new patches in ascending sequence. As you apply the patches, watch the filenames output by the patch program. For instance, if anything ending in ".vim" or ".txt" gets patched, you may want to copy (not move) the new version from the "development" hierarchy (starting at d:\devel\vim\vim70\runtime) to the "production" hierarchy (starting — in Cygwin parlance — at $VIM/vim70):helptags $VIMRUNTIME/doc
D:
cd \devel\vim\vim70\src
make -B -fMake_bc5.mak -DGUI=no vim
make -B -fMake_bc5.mak -DOLE=yes -DCPUNR=i686 vim
cd /cygdrive/d/devel/vim/vim70/src
make -B -f Make_cyg.mak GUI=no vim.exe
make -B -f Make_cyg.mak OLE=yes gvim.exe
make -B -f Make_cyg.mak OLE=yes gvim.exe 2>&1 |tee gvim.log
| Back to "The Vim Editor" | Back to Welcome page |