Using gcc-arm-none-eabi on BBB

Hi There!

I was wondering if anyone has had any luck executing gcc-arm-none-eabi on their Beaglebone Black?

I am running Debian. I have tried to install the linux tarball from here as per the readme.
My error is “Unable to execute binary”

It is part of an install for Swiftnav Console.

Appreciate any help.

Sam

Wrong ABI. That is a cross compiler meant to run on i386, meant for creating bare-metal binaries for cortex M0 / M0+, M3 / M4, R4 / R5 / R7, and Cortex A processors. Probably

I say probably because their “package” list does not offer much description. But if you not they also offer Win32 binaries . . . I am probably right.

But if you not they also offer Win32 binaries . . . I am probably right.

But if you note . . .

Anyway . . . https://packages.debian.org/jessie/gcc-arm-none-eabi

There also is not a package for Wheezy, so if you’re running Wheezy, that would be another hurdle to overcome ( maybe backports ? )

Thanks William.

I’ll try to compile from source. Failing that I will try to cross compile the swiftnav console.

Hopefully I will get one of these to work.

Cheers!

Sam

HI Sam,

If you’re trying to cross compile for other than Cortex A, you may consider doing that on an i386 / x64 variant of Linux on a PC. I have like 4 of the TI LM4F120 launchpad boards ( pre Tiva ), and that toolchain works great from an i386 Debian install. Just a thought . . .