Package request: Cross-compiler gcc-aarch64-linux on amd64
I'd like to cross-compile for aarch64 on amd64 hardware. In Debian I install gcc-aarch64-linux-gnu
and point the go builder to it, in Alpine there seems to be no cross compiler for aarch64-linux:
# apk search aarch64
binutils-aarch64-none-elf-2.39-r2
binutils-aarch64-2.39-r0
gcc-aarch64-none-elf-12.2.0-r4
qemu-aarch64_be-7.1.0-r7
gcc-aarch64-none-elf-stage1-12.2.0-r3
newlib-aarch64-none-elf-stage1-4.2.0.20211231-r3
qemu-system-aarch64-7.1.0-r7
limine-aarch64-4.20221230.0-r0
newlib-aarch64-none-elf-4.2.0.20211231-r4
qemu-aarch64-7.1.0-r7
Even tried the none-elf
stuff but iirc they are not meant to compile for a linux destination. They gave errors about missing -pthreads
.
I want a result that runs on Alpine/aarch64. Musl might be a start, but didn't find packages for cross compiling it either.
Are those packages just missing or are there reasons / is it hard to include it?
Thanks in advance, happy for any pointers as google wasn't that helpful in this case.