Hi Christian, 2016/1/12 Tue 20:40:37 UTC+9 Christian Brabandt wrote: > On Fr, 08 Jan 2016, Ken Takata wrote: > > > Hi Bram and all, > > > > 2016/1/2 Sat 22:14:01 UTC+9 Bram Moolenaar wrote: > > > Can we please gather the complete, step-by-step instructions? Probably > > > the best place for this is src/INSTALLpc.txt. > > > > I wrote it. Please review. > > > > I also updated the appveyor script: > > https://github.com/k-takata/vim/tree/chrisbra-appveyor-build > > Here is an update to appveyor.bat to include mz_scheme/dyn > > I tried to build but the nsis script failed.
I found that it failed after 7.4.1083. In our appveyor script, we use Windows SDK 7.1's setenv.bat to set environments, not Visual Studio's vcvars32.bat. The vcvars32.bat sets PLATFORM variable, but the setenv.bat sets TARGET_CPU variable instead of PLATFORM. The same problem can be occurred after 7.4.967 when the CPU variable is not set explicitly. The following patch fixes the problem: --- a/src/GvimExt/Makefile +++ b/src/GvimExt/Makefile @@ -16,6 +16,9 @@ NODEBUG = 1 # On Windows NT ! ifndef CPU CPU = i386 +! if !defined(PLATFORM) && defined(TARGET_CPU) +PLATFORM = $(TARGET_CPU) +! endif ! ifdef PLATFORM ! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64") CPU = AMD64 diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index f51fbfc..6f0b843 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -216,6 +216,9 @@ CPU = i386 ! endif ! else # !CPU CPU = i386 +! if !defined(PLATFORM) && defined(TARGET_CPU) +PLATFORM = $(TARGET_CPU) +! endif ! ifdef PLATFORM ! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64") CPU = AMD64 Regards, Ken Takata -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.