Jetson Linux Toolchain#
NVIDIA® specifies the Crosstool-NG gcc
13.2.0 aarch64 toolchain for the following options:
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: 13.2.0
Binutils version: 2.40
Glibc version: 2.28
Downloading the Toolchain#
Download the Crosstool-NG 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 <toolchain_archive>
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/x-tools/aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-