Re: [arch-general] STM32 compilation on ArchLinuxARM

2016-12-27 Thread Doug Newgard
On Wed, 28 Dec 2016 03:18:44 + Konstantin Gribov via arch-general 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 i

Re: [arch-general] STM32 compilation on ArchLinuxARM

2016-12-27 Thread Konstantin Gribov via arch-general
> > 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 di

Re: [arch-general] STM32 compilation on ArchLinuxARM

2016-12-27 Thread Dragon “floppy1” ryu via arch-general
iPadから送信 2016/12/27 18:04、Konstantin Gribov via arch-general のメッセージ: > Hello. > > TL;DR; >> I need a way to install arm-none-eabi-gcc on Raspberry Pi (Arch Linux >> ARM) using pacman or from source. >> > Just use gcc package. > > It has these targets: >> valid arguments to '-march=' are: a

Re: [arch-general] STM32 compilation on ArchLinuxARM

2016-12-27 Thread Konstantin Gribov via arch-general
Hello. TL;DR; > I need a way to install arm-none-eabi-gcc on Raspberry Pi (Arch Linux > ARM) using pacman or from source. > Just use gcc package. It has these targets: > valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6

Re: [arch-general] STM32 compilation on ArchLinuxARM

2016-12-27 Thread Jelle van der Waa
On 12/27/16 at 05:40am, Foxtrot Mike via arch-general wrote: > TL;DR; > I need a way to install arm-none-eabi-gcc on Raspberry Pi (Arch Linux > ARM) using pacman or from source. Well arm-none-eabi-gcc is a armv7 (6?) cross compiler and on your RPI you are already running on an arm platform you pr