Hi!
I'm trying to develop for a bare-metal ARM chip (in this case, the particle photon) from an aarch64 ARM board (here, the odroid c2).
For this, I need a special compiler: arm-none-eabi-gcc.
This package is not currently available in the archlinuxarm repositories. A few other threads were opened last year about this (this one and that one), and neither of them got an answer.
I looked into building the package myself from the PKGBUILD, but it looks like there's a cyclic build dependency between arm-none-eabi-gcc and arm-none-eabi-newlib... Apparently at some point (at least 5 years ago, an eternity...) another package, then named cross-arm-none-eabi-gcc-base, was used to bootstrap everything, but here it says that this package was removed as no longer necessary.
So the question is: can I cross-compile these packages from x86_64? And/Or can I somehow bootstrap my Archlinux ARM installation and get those packages compiled?
I'm not an expert in cross-compiler bootstrapping, so I'm probably missing something obvious, but I'd really like if someone could explain to me how to get a cross-compiler on archlinux arm, to target bare-metal arm.
Thank you for the wonderful work you guys keep doing for us!