Hallo all, Not sure it is worst posting, but just in case it will be useful for somebody else...
Using _very_ good build howto from Tony page [1], I have got the error [3] by trying to build with ruby 1.8.6. It seems that ruby guys can't imagine their *.h files will be parsed with something other then MSVC: #if _MSC_VER != 1200 #error MSC version unmatch #endif _MSC_VER is obviously not set, since I use gcc - so I have made small modification to their ruby/1.8/i386-mswin32/config.h [2]. After this modification VIM were compiled ok. My full build command has looked like this: make -B -f Make_cyg.mak OLE=yes PYTHON=c:/usr/Python26 PYTHON_VER=26 \ DYNAMIC_PYTHON=yes RUBY=c:/usr/ruby-1.8.6 RUBY_VER=18 RUBY_VER_LONG=1.8 \ DYNAMIC_RUBY=yes RUBY_PLATFORM=i386-mswin32 PERL=c:/usr/Perl PERL_VER=58 \ DYNAMIC_PERL=yes 2>&1 |tee gvim.log Now the ruby support seems to be successfully built into my gvim. -- Anton [1] http://users.skynet.be/antoine.mechelynck/vim/compile.htm [2] my modification to ruby/1.8/i386-mswin32/config.h --- /c/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32/config.h.orig 2008-12-20 07:01:33.156250000 +0100 +++ /c/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32/config.h 2008-12-20 06:39:45.468750000 +0100 @@ -1,6 +1,7 @@ -#if _MSC_VER != 1200 -#error MSC version unmatch -#endif +// haron - I have changed it because of VIM build +//#if _MSC_VER != 1200 +//#error MSC version unmatch +//#endif #define USE_WINSOCK2 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 [3] gcc output excerpt with error message I get before patching the header ... gcc -c -O3 -fomit-frame-pointer -freg-struct-return -fno-strength-reduce -DWIN32 -DHAVE_PATHDEF -DFEAT_BIG -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl58.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python26.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby18.dll\" -DDYNAMIC_RUBY_VER=18 -DDYNAMIC_GETTEXT -DDYNAMIC_ICONV -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_OLE -march=i386 -Iproto -Ic:/usr/Perl/lib/CORE -Ic:/usr/Python26/include -Ic:/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32 -s -mno-cygwin if_ruby.c -o gobj/if_ruby.o In file included from c:/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32/ruby.h:24, from if_ruby.c:51: c:/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32/config.h:2:2: #error MSC version unmatch In file included from c:/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32/ruby.h:718, from if_ruby.c:51: c:/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32/missing.h:71:1: warning: "isinf" redefined In file included from c:/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32/win32/win32.h:64, from c:/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32/defines.h:183, from c:/usr/ruby-1.8.6/lib/ruby/1.8/i386-mswin32/ruby.h:37, from if_ruby.c:51: /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/math.h:364:1: warning: this is the location of the previous definition make: *** [gobj/if_ruby.o] Error 1 --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
