Patch 8.1.1119
Problem: No support for Windows on ARM64.
Solution: Add ARM64 support (Leendert van Doorn)
Files: src/GvimExt/Makefile, src/Make_mvc.mak, src/dosinst.c,
src/xpm/arm64/lib-vc14/libXpm.lib, Filelist, src/INSTALLpc.txt
*** ../vim-8.1.1118/src/GvimExt/Makefile 2017-10-07 17:58:14.000000000
+0200
--- src/GvimExt/Makefile 2019-04-04 20:17:35.455563137 +0200
***************
*** 25,30 ****
--- 25,32 ----
! ifdef PLATFORM
! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64")
CPU = AMD64
+ ! elseif ("$(PLATFORM)" == "arm64") || ("$(PLATFORM)" == "ARM64")
+ CPU = ARM64
! elseif ("$(PLATFORM)" != "x86") && ("$(PLATFORM)" != "X86")
! error *** ERROR Unknown target platform "$(PLATFORM)". Make aborted.
! endif
***************
*** 56,66 ****
SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
!endif
all: gvimext.dll
gvimext.dll: gvimext.obj \
gvimext.res
! $(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll
$** $(olelibsdll) shell32.lib comctl32.lib -subsystem:$(SUBSYSTEM)
if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest
-outputresource:$*.dll;2
gvimext.obj: gvimext.h
--- 58,74 ----
SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
!endif
+ !if "$(CPU)" == "ARM64"
+ OFFSET = 0x11C000000
+ !else
+ OFFSET = 0x1C000000
+ !endif
+
all: gvimext.dll
gvimext.dll: gvimext.obj \
gvimext.res
! $(link) $(lflags) -dll -def:gvimext.def -base:$(OFFSET) -out:$*.dll $**
$(olelibsdll) shell32.lib comctl32.lib -subsystem:$(SUBSYSTEM)
if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest
-outputresource:$*.dll;2
gvimext.obj: gvimext.h
*** ../vim-8.1.1118/src/Make_mvc.mak 2019-04-03 20:30:56.081017564 +0200
--- src/Make_mvc.mak 2019-04-04 20:17:35.455563137 +0200
***************
*** 240,245 ****
--- 240,247 ----
! ifdef PLATFORM
! if ("$(PLATFORM)" == "x64") || ("$(PLATFORM)" == "X64")
CPU = AMD64
+ ! elseif ("$(PLATFORM)" == "arm64") || ("$(PLATFORM)" == "ARM64")
+ CPU = ARM64
! elseif ("$(PLATFORM)" != "x86") && ("$(PLATFORM)" != "X86")
! error *** ERROR Unknown target platform "$(PLATFORM)". Make aborted.
! endif
***************
*** 442,447 ****
--- 444,451 ----
# on the architecture.
!if "$(CPU)" == "AMD64"
XPM = xpm\x64
+ !elseif "$(CPU)" == "ARM64"
+ XPM = xpm\arm64
!elseif "$(CPU)" == "i386"
XPM = xpm\x86
!else
*** ../vim-8.1.1118/src/dosinst.c 2019-03-30 18:46:57.340077448 +0100
--- src/dosinst.c 2019-04-04 20:17:35.459563117 +0200
***************
*** 1677,1683 ****
printf("Creating an uninstall entry\n");
sprintf(display_name, "Vim " VIM_VERSION_SHORT
! #ifdef _WIN64
" (x64)"
#endif
);
--- 1677,1685 ----
printf("Creating an uninstall entry\n");
sprintf(display_name, "Vim " VIM_VERSION_SHORT
! #ifdef _M_ARM64
! " (arm64)"
! #elif _M_X64
" (x64)"
#endif
);
*** ../vim-8.1.1118/src/xpm/arm64/lib-vc14/libXpm.lib 1970-01-01
01:00:00.000000000 +0100
--- src/xpm/arm64/lib-vc14/libXpm.lib 2019-04-04 20:22:13.678056442 +0200
***************
*** 0 ****
--- 1,516 ----
+ !<arch>
+ / 1549679761 0 1683 `
+ S½©õ[ ©þ è $ˆA ¹þ @ùóS¨À _ÖŸ ´é'@ù C13ê ¹ —|@Ó ß ø
--
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.