iMX6 Rex Toolchain

From Voipac Wiki
Jump to navigation Jump to search

GNUEABI toolchain

Install

Toochain for Operating Systems running Linux kernel:

mkdir -pv ~/workdir/downloads
cd ~/workdir/downloads
wget -c https://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
sudo tar -xvJf gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz -C /opt

Setup

export PATH="/opt/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin:~/workdir/bin:$PATH"
export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm