Search the web
Sign In
New User? Sign Up
vimdev · Vim (Vi IMproved) text editor developers list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Patch: Make_mvc.mak creates an empty gvim.exe.mnf file   Message List  
Reply | Forward Message #43765 of 55391 |
Patch
Problem: Make_mvc.mak creates an empty gvim.exe.mnf file (or stops
with an error message). (Suresh Govindachar)
Solution: Don't use 'echo' to create files. Use inline files instead.
Files: src/Make_mvc.mak


*** ..\vim-7.0.000\src\Make_mvc.mak 2006-05-07 16:13:02.000000000 +0200
--- src\Make_mvc.mak 2006-05-22 22:11:29.768449600 +0200
***************
*** 963,1001 ****
E_CFLAGS = $(E0_CFLAGS:"=\")

$(PATHDEF_SRC): auto
! @echo creating $(PATHDEF_SRC)
! @echo /* pathdef.c */ > $(PATHDEF_SRC)
! @echo #include "vim.h" >> $(PATHDEF_SRC)
! @echo char_u *default_vim_dir = (char_u *)"$(VIMRCLOC:\=\\)"; >>
$(PATHDEF_SRC)
! @echo char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR:\=\\)"; >>
$(PATHDEF_SRC)
! @echo char_u *all_cflags = (char_u *)"$(CC:\=\\) $(E_CFLAGS)"; >>
$(PATHDEF_SRC)
! @echo char_u *all_lflags = (char_u *)"$(link:\=\\) $(LINKARGS1:\=\\)
$(LINKARGS2:\=\\)"; >> $(PATHDEF_SRC)
! @echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> $(PATHDEF_SRC)
! @echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> $(PATHDEF_SRC)

gvim.exe.mnf: auto
! @echo ^<?xml version="1.0" encoding="UTF-8" standalone="yes"?^> >$@
! @echo ^<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0"^> >>$@
! @echo ^<assemblyIdentity >>$@
! @echo processorArchitecture="$(ASSEMBLY_ARCHITECTURE)" >>$@
! @echo version="7.0.0.0" >>$@
! @echo type="win32" >>$@
! @echo name="Vim" >>$@
! @echo /^> >>$@
! @echo ^<description^>Vi Improved - A Text Editor^</description^> >>$@
! @echo ^<dependency^> >>$@
! @echo ^<dependentAssembly^> >>$@
! @echo ^<assemblyIdentity >>$@
! @echo type="win32" >>$@
! @echo name="Microsoft.Windows.Common-Controls" >>$@
! @echo version="6.0.0.0" >>$@
! @echo publicKeyToken="6595b64144ccf1df" >>$@
! @echo language="*" >>$@
! @echo processorArchitecture="$(ASSEMBLY_ARCHITECTURE)" >>$@
! @echo /^> >>$@
! @echo ^</dependentAssembly^> >>$@
! @echo ^</dependency^> >>$@
! @echo ^</assembly^> >>$@

auto:
if not exist auto/nul mkdir auto
--- 963,1005 ----
E_CFLAGS = $(E0_CFLAGS:"=\")

$(PATHDEF_SRC): auto
! @echo creating $@
! @copy << $@
! /* pathdef.c */
! #include "vim.h"
! char_u *default_vim_dir = (char_u *)"$(VIMRCLOC:\=\\)";
! char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR:\=\\)";
! char_u *all_cflags = (char_u *)"$(CC:\=\\) $(E_CFLAGS)";
! char_u *all_lflags = (char_u *)"$(link:\=\\) $(LINKARGS1:\=\\)
$(LINKARGS2:\=\\)";
! char_u *compiled_user = (char_u *)"$(USERNAME)";
! char_u *compiled_sys = (char_u *)"$(USERDOMAIN)";
! <<

gvim.exe.mnf: auto
! @copy << $@
! <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
! <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
! <assemblyIdentity
! processorArchitecture="$(ASSEMBLY_ARCHITECTURE)"
! version="7.0.0.0"
! type="win32"
! name="Vim"
! />
! <description>Vi Improved - A Text Editor</description>
! <dependency>
! <dependentAssembly>
! <assemblyIdentity
! type="win32"
! name="Microsoft.Windows.Common-Controls"
! version="6.0.0.0"
! publicKeyToken="6595b64144ccf1df"
! language="*"
! processorArchitecture="$(ASSEMBLY_ARCHITECTURE)"
! />
! </dependentAssembly>
! </dependency>
! </assembly>
! <<

auto:
if not exist auto/nul mkdir auto

--
Thanks a lot for the VIM Editor!
Greetings
Mathias



Mon May 22, 2006 8:55 pm

michaelis@...
Send Email Send Email

Forward
Message #43765 of 55391 |
Expand Messages Author Sort by Date

Patch Problem: Make_mvc.mak creates an empty gvim.exe.mnf file (or stops with an error message). (Suresh Govindachar) Solution: Don't use 'echo' to create...
Mathias Michaelis
michaelis@...
Send Email
May 22, 2006
8:59 pm

... This has always worked just fine. When does it fail? -- Microsoft's definition of a boolean: TRUE, FALSE, MAYBE "Embrace and extend"...? /// Bram...
Bram Moolenaar
Bram@...
Send Email
Jun 17, 2006
1:58 pm

Bram ... The gvim.exe.mnf always was empty -- but as George Reilly (who made the skipt) told me, it is only used for 64-Bit Windows. On the other hand, the...
Mathias Michaelis
michaelis@...
Send Email
Jun 18, 2006
1:04 pm

... Strange, the echo commands for the pathdef.c file have always worked just fine. ... This smells like a bug in nmake. ... Before including this change I...
Bram Moolenaar
Bram@...
Send Email
Jun 18, 2006
3:14 pm

... echo string1 > file echo string2 >> file echo string3 >> file etc. ought to work, _except_ when the string is (ignoring case) ON OFF or empty (in which...
A.J.Mechelynck
antoine.mechelynck@...
Send Email
Jun 18, 2006
5:31 pm

... You are apparently reading documentation. Does it also say something about having > and < characters in the string? That may be the cause of the problem:...
Bram Moolenaar
Bram@...
Send Email
Jun 18, 2006
7:10 pm

... ah, that may depend on the shell version; I expect that old shells might not know about it. Maybe inline documents (handled by the make utility) might be...
A.J.Mechelynck
antoine.mechelynck@...
Send Email
Jun 18, 2006
7:25 pm

Bram ... I have downloaded NMAKE 1.5 from http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132084#appliesto and saw, that it can handle inline files...
Mathias Michaelis
michaelis@...
Send Email
Jun 19, 2006
6:54 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help