Am 19.02.25 um 00:17 schrieb Pierrick Bouvier:
On 2/18/25 12:59, Stefan Weil wrote:
I could run a QEMU cross compile on Debian with the llvm toolchain and
msys2 clangarm64 packages installed with pacman. The resulting installer
is here:
Have you installed the msys2 clangarm64 packages on a windows machine
first, and then copy them to your Debian machine?
No, the packages were directly installed on Linux like in this older
script which shows how this can be done for i686 and x86-64::
https://github.com/stweil/qemu/blob/master/.github/workflows/pacman.sh
Newer Debian distributions already provide a package for pacman which
simply needs the right configuration. For older distributions I had to
build pacman first.
I should also have noted that I used a Linux aarch64 build host, so its
binutils were able to find the DLL dependencies. This requirement will
be fixed with a pure Python script for the same purpose.
https://qemu.weilnetz.de/aarch64/
The only tool which was missing and which I had to build before running
the QEMU build is aarch64-w64-mingw32-windmc.
It looks like the NSIS installer is i386 code, so I don't know whether
it can be used on Windows for aarch64.
I also have no suitable Windows host for testing the binaries, so no
test was done.