Am 19.02.25 um 08:01 schrieb Pierrick Bouvier:
On 2/18/25 22:39, Stefan Weil wrote:
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.
Oh excellent! I wondered if it was possible or not to do this (didn't
know if some post install hooks try to execute native code).
Thanks for the link.
A few of them do this. Usually I simply ignore the resulting errors, but
it's also possible to provide native Linux executables to get these
hooks working.