NVIDIA Jetson Linux Developer Guide
32.4.3 Release


Jetson Linux Driver Package Toolchain

Toolchain Information
Downloading the Toolchain
Extracting the Toolchain
Setting the CROSS_COMPILE Environment Variable
NVIDIA® specifies the Linaro® gcc 7.3.1 2018.05 aarch64 toolchain for:
Cross-compiling applications to run on Jetson Linux Driver Package (L4T rel-32.
Cross-compiling code in the L4T rel-32 source release.
This topic describes how to obtain this toolchain.

Toolchain Information

The toolchain contains the following components:
GCC version: 7.3.1
Binutils version:
Glibc version: 2.25

Downloading the Toolchain

Download the pre-built toolchain binaries from:

Extracting the Toolchain

Execute the following commands to extract the toolchain:
$ mkdir $HOME/l4t-gcc
$ cd $HOME/l4t-gcc
$ tar xf gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz

Setting the CROSS_COMPILE Environment Variable

Many build systems require you to set environment variable CROSS_COMPILE to point at the toolchain to use. To set CROSS_COMPILE for the aarch64 toolchain:
$ export CROSS_COMPILE=$HOME/l4t-gcc/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-