Hi, I have been building vim successfully either vim visual studio or cygwin but including only perl and python, not ruby.
For visual studio assuming you have perl in C:\Perl and python in C:\Python27
and that you have the vim source folder somewhere, you just have to go into the folder src type msvc2010.bat and then
nmake -f Make_mvc.mak DYNAMIC_PYTHON=yes PYTHON="C:\Python27" PYTHON_VER=27 PERL="C:\Perl" PERL_VER=512 DYNAMIC_PERL=yes FEATURES=HUGE OLE=yes GUI=yes
this works for me, building vim with visual studio.
For building vim with cygwin, I was also stuck for a while because of that gcc option no longer being valid, but it turns out it is not a big deal.
I copied the file Make_cyg.mak to Make_cyg1.mak
and then in the file Make_cyg1.mak replaced the lines
CC = gcc
by
CC = i686-pc-mingw32-gcc
and
INCLUDES += -mno-cygwin
by
INCLUDES +=
Then I have this small perl script that I use to compile vim in cygwin
%%%%%%%%%%%%%%%%%%%%%%%%%%
#!/usr/bin/env perl
# compile vim for windows using a cross compiler in cygwing
my $python = "PYTHON=/cygdrive/c/Python27 PYTHON_VER=27 DYNAMIC_PYTHON=yes";
my $perl = "PERL=/cygdrive/c/Perl PERL_VER=512 DYNAMIC_PERL=yes";
my $makefile = "Make_cyg1.mak";
my $jflag = "-j5";
my $cmd_vim = "make -B -f $makefile GUI=no $python $perl $jflag vim.exe";
my $cmd_gvim = "make -B -f $makefile GUI=yes $python $perl $jflag gvim.exe";
print "$cmd_vim\n";
system "$cmd_vim";
print "$cmd_gvim\n";
system "$cmd_gvim";
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
and then I just run this perl script to compile vim in cygwin.
I guess maybe the file Make_cyg.mak should be modified in the distribution so
that people can use that directly.
I would also like to see a guide on how to compile vim 64 bits.