Jetson Linux Toolchain ¶
NVIDIA
®
specifies the Bootlin
gcc
9.3.0 2020.08-1 aarch64 toolchain for:
-
Cross-compiling applications to run on this release of NVIDIA ® Jetson™ Linux.
-
Cross-compiling code in the current-release Jetson Linux source.
This topic describes how to obtain the toolchain.
Toolchain Information ¶
The toolchain contains the following components:
-
GCC version: 9.3.0
-
Binutils version: 2.33.1
-
Glibc version: 2.31
Downloading the Toolchain ¶
Download the Bootlin toolchain binaries from the NVIDIA Jetson Linux home page.
Extracting the Toolchain ¶
To extract the toolchain, enter these commands:
$ mkdir $HOME/l4t-gcc
$ cd $HOME/l4t-gcc
$ tar xf aarch64--glibc--stable-2020.08-1.tar.bz2
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, enter the command:
$ export CROSS_COMPILE=$HOME/l4t-gcc/bin/aarch64-buildroot-linux-gnu-