28 Dec
2016
28 Dec
'16
4:22 a.m.
On Wed, 28 Dec 2016 03:18:44 +0000 Konstantin Gribov via arch-general <arch-general@archlinux.org> wrote:
RPi 2 B is Armv7. IIRC. Idk about 3, But I think it is ArmV7
RPi3 is armv8-a (it has Cortex-A53 cores), not armv7-a. But it's offtopic.
OP's question was about cross-compiling for Cortex-M which is for microcontrollers. He just wants to compile code for it on RPi as a host. It's not very different from compiling for Cortex-M on x86_64.
Maybe not, but this entire thread is off topic, since Arch Linux ARM is a separate distro that's not supported here.