Actions

EmSys

Install ARM Linux toolchain

From EdWiki

What is a cross-compilation toolchain?

  • A set of tools to build and debug code for a target architecture, from a machine running a different architecture.
  • Example: building code for ARM from a x86-64 PC.

Install toolchain

$ cd ~/Downloads
$ Download GNU Toolchain for the A-profile Architecture: 8.3-2019.03 from here
$ sudo tar xvf ~/Downloads/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz -C /opt/
$ export CC=/opt/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-