You are not logged in.

#1 2013-07-23 07:35:04

UQ-igor
Member
Registered: 2009-03-05
Posts: 42

Cross Compiler for ARM

Hi,

I'm trying to setup a cross compiling toolchain for ARM. I'm planning on writing some code for the ARM Cortex based microcontrollers. However, I'm a bit confused about what is the recommended toolchain to use and what is the "arch way" of installing it.

I used to use summon-arm-toolchain, but it's README now says it has been deprecated and that I should use gcc-arm-embedded instead. In the meanwhile, there are also various packages such as arm-eabi-gcc-* or gcc-arm-eabi*, etc... (basically, the naming convention is a mess - I know I need arm-none-eabi-gcc but is it named correctly in the AUR or should I actually get a different package?)

It would be greatly appreciated if someone could let me know what is the current ARM toolchain to use these days?
summon-arm-toolchain script? Are there already packages for Arch?
gcc-arm-embedded? Are there already packages for Arch?
One of *arm-eabi* packages from AUR? Which one?

Thanks,
-Igor

Offline

#2 2013-07-23 07:39:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Cross Compiler for ARM


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-07-23 09:05:25

UQ-igor
Member
Registered: 2009-03-05
Posts: 42

Re: Cross Compiler for ARM

jasonwryan, thanks for the reply,

I've read the ARM Dev Guide as suggested but I don't believe this will do what I'm aiming to achieve. It seems the ARM Dev Guide will install the arm-linux-gnueabi, which allows cross-compiling applications to run on LINUX built for ARM. I need something like arm-none-eabi (or arm-none-gnueabi - the whole naming scheme is a mess at the moment) which is an ARM compiler for "bare metal" ARM devices. I am aiming to program a simple ARM Cortex M4 microcontroller as opposed to an ARM microprocessor running Linux. Hence arm-linux-gnueabi is quite overkill from my understanding and it might even not work.

So, if someone could either confirm that what the ARM Dev Guide suggests is indeed what I need to program a bare metal ARM microcontroller, or recommend an alternative path, it would be very appreciated.

Thanks,
-Igor

Offline

Board footer

Powered by FluxBB