NT_MAKEFILE: support targeting ARM64 with MSVC#3
Conversation
NT_MAKEFILE:
Accept CPU=ARM64 (or arm64/AARCH64/aarch64) in addition to the existing
i386 and AMD64 cases. Define _ARM64_=1 and the Win64/Win32 convention
macros for ARM64 builds, and set CVTRES_CPU=ARM64 so resource handling
mirrors the other 64-bit target.
|
I'm not familiar with NT_MAKEFILE but it looks to be fine. I wouldn't have an objection to merging it to our branch, but it should be submitted upstream as well. |
yes about upstream, but we are thousands of commits behind upstream, they have a completely new build system (cmake I believe), which well will take a bit more to integrate with. |
|
They still have a NT_MAKEFILE, you should just be able to apply the changes and test it. |
fair enough, PR is out: bdwgc#920. changes are 1:1 so should not block this from getting merged |
|
Apparently, it is "okay" upstream too: bdwgc#920 (comment) @wangp |
|
now part of this: bdwgc#921 |
|
Thanks, I've added the patch to the |
|
oops sorry forgot about the tagging mechanism! |
Extend NT_MAKEFILE with a third CPU branch so that building gc.lib with
MSVC can target Windows on ARM64, alongside the existing i386 and AMD64
branches. Accept CPU values of ARM64, arm64, AARCH64, aarch64; define
ARM64=1 and the Win64/Win32 convention macros; set CVTRES_CPU=ARM64.
This is needed for Mercury's MSVC port to support Windows ARM64. It is
also a generally useful improvement to Boehm's Windows build.