On 13/03/10 02:05, Dasn wrote:

Hello guys.

I am using mingw32 to build vim on WinXP

D:\src\vim7\src>make -v
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for Windows32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-m...@gnu.org>.

D:\src\vim7\src>make -f Make_ming.mak
Make_ming.mak:218: Extraneous text after `else' directive
Make_ming.mak:220: *** only one `else' per conditional. Stop.


What is your patchlevel? Several recent 7.2 patches were concerned with MinGW, including 352, 364, 365, 377, 387, 388 and maybe others; the current patchlevel (as of this writing) is 7.2.394.

See http://ftp.vim.org/pub/vim/patches/7.2/README for a "table of contents" of all "Vim 7.2" patches to date.

AFAICT, lines 215-223 of Make_ming.mak are as follows:

---8<---
ifndef RUBY_PLATFORM
ifeq ($(RUBY_VER), 16)
RUBY_PLATFORM = i586-mswin32
else ifneq ("X$(wildcard, $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/i386-mingw32)", X)
RUBY_PLATFORM = i386-mingw32
else
RUBY_PLATFORM = i386-mswin32
endif
endif
--->8---

If yours are the same try replacing that block with

---8<---
ifndef RUBY_PLATFORM
ifeq ($(RUBY_VER), 16)
RUBY_PLATFORM = i586-mswin32
else
ifneq ("X$(wildcard, $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/i386-mingw32)", X)
RUBY_PLATFORM = i386-mingw32
else
RUBY_PLATFORM = i386-mswin32
endif
endif
endif
--->8---

(untested: break the line between "else" and "ifneq" and add an "endif" at the end of the block) and see if it makes a difference. (Note that the line containing the "ifneq" is quite long; the _next_ line sets RUBY_PLATFORM to i386-mingw32.)

Note: I'm not Bram, I don't use MinGW, and I can't even try it since I'm on Linux, so proceed with all due caution.


Best regards,
Tony.
--
Microsoft's definition of a boolean: TRUE, FALSE, MAYBE
"Embrace and extend"...?

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui