I used an llvm-based mingw from here to setup cross-compiling to windows on arm64.
The toolchain lives in a separate, top-level directory from the rest of the toolchain in the image because I didn't want to mess up anything needed for OSX compatibility, which looks to rely on some of the same packages (clang, llvm, etc.).
Additionally, in the second commit I added some fixes to the Makefile which I think might be necessary to run targets individually.
I used an
llvm
-basedmingw
from here to setup cross-compiling to windows on arm64.The toolchain lives in a separate, top-level directory from the rest of the toolchain in the image because I didn't want to mess up anything needed for OSX compatibility, which looks to rely on some of the same packages (
clang
,llvm
, etc.).Additionally, in the second commit I added some fixes to the
Makefile
which I think might be necessary to run targets individually.