Skip to content

Instantly share code, notes, and snippets.

@hanji
Created August 8, 2013 15:04
Show Gist options
  • Select an option

  • Save hanji/6185406 to your computer and use it in GitHub Desktop.

Select an option

Save hanji/6185406 to your computer and use it in GitHub Desktop.
build 32-bit version of gvim using mingw toolchain.
::~mingw-vim.bat: build 32-bit version of gvim using mingw toolchain.
::~author: Ji Han
set PATH=C:\mingw32\bin;C:\Perl\bin;%PATH%
mingw32-make -f Make_ming.mak ARCH=i686 STATIC_STDCPLUS=yes GUI=yes OLE=yes IME=yes CSCOPE=yes ^
LUA=C:/lua DYNAMIC_LUA=yes LUA_VER=52 ^
TCL=C:/Tcl DYNAMIC_TCL=yes TCL_VER=85 TCL_VER_LONG=8.5 ^
PERL=C:/Perl DYNAMIC_PERL=yes PERL_VER=516 ^
PYTHON=C:/python27 DYNAMIC_PYTHON=yes PYTHON_VER=27 PYTHON3=C:/python33 DYNAMIC_PYTHON3=yes PYTHON3_VER=33 ^
RUBY=C:/ruby DYNAMIC_RUBY=yes RUBY_VER=200 RUBY_VER_LONG=2.0.0 RUBY_PLATFORM=i386-mingw32
::~complete
for %%e in ( dll res ) do ( move >nul gvimext\gvimext.%%e . )
move >nul xxd\xxd.exe .
del /s /q *.o if_perl.c pathdef.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment