I just tested this package on aarch64/arm64 (Apple M2, Asahi Arch Linux ARM) by modifying the PKGBUILD. It works perfectly for cross-compiling bare-metal OS dev projects, you just have to compile i686-elf-binutils first (also by modifying the PKGBUILD).
I'd suggest adding aarch64 to the supported architectures list in the PKGBUILD so that other users don't have to modify it themselves.
Suggested change:
arch=('x86_64')
-> arch=('x86_64' 'aarch64')
Pinned Comments
c0repwn3r commented on 2022-05-13 02:26 (UTC) (edited on 2022-05-13 02:27 (UTC) by c0repwn3r)
I have taken over this package, build issues should be fixed and it has been updated to GCC 11.2.0. No makepkg.conf edits are required anymore, GCC sources are patched to fix the build problems