NVIDIA Supported Cross Toolchains#

A cross toolchain refers to the compiler, linker, and target’s C library that executes on the host (x86 or x86_64) but generates code for the ARM architecture. The C library is used for linking compiled code to create the target application.

The toolchains provided in the SDK (in $NV_WORKSPACE/toolchains) are described in the table below.

Directory

Components

Where to use the toolchain

Sources

armv7-eabihf-glibc-bleeding-edge-2024.02-1

GCC - 13.2.0 Binutils - 2.42 glibc-2.39 STDC++: 6.0.32 (GLIBCXX_3.4.32) Origin - Bootlin

Building 32-bit modules for trusted OS

/drive-foundation_src/bootlin/toolchain-sources_bleeding-edge-2024.02-1.tar.gz

Sources from upstream:

https://toolchains.bootlin.com/downloads/releases/sources/

Buildroot deconfig:

Extract ${NV_WORKSPACE}/drive-foundation_src/bootlin/toolchain-sources_bleeding-edge-2024.02-1.tar.gz
${NV_WORKSPACE}/drive-foundation_src/bootlin/toolchain-sources_bleeding-edge-2024.02-1/armv7-eabihf-glibc-bleeding-edge-2024.02-1.defconfig|

aarch64–glibc–bleeding-edge-2024.02-1

GCC - 13.2.0 Binutils - 2.42 glibc-2.39 STDC++: 6.0.32 (GLIBCXX_3.4.32) Origin - Bootlin

Binding a guest PCT to the hypervisor, Building 64-bit Trusted OS, and building user-space components

Files:

/drive-foundation_src/bootlin/toolchain-sources_bleeding-edge-2024.02-1.tar.gz

Sources from upstream:

https://toolchains.bootlin.com/downloads/releases/sources/

Buildroot deconfig:

Extract ${NV_WORKSPACE}/drive-foundation_src/bootlin/toolchain-sources_bleeding-edge-2024.02-1.tar.gz
${NV_WORKSPACE}/drive-foundation_src/bootlin/aarch64--glibc--bleeding-edge-2024.02-1.defconfig

armv5-eabi–glibc–bleeding-edge-2024.02-1

GCC - 13.2.0 Binutils - 2.42 glibc-2.39 STDC++: 6.0.32 (GLIBCXX_3.4.32) Origin - Bootlin

For ADSP firmware and ADSP plugins compilation

Files:

/drive-foundation_src/bootlin/toolchain-sources_bleeding-edge-2024.02-1.tar.gz

Sources from upstream:

https://toolchains.bootlin.com/downloads/releases/sources/

Buildroot deconfig:

Extract ${NV_WORKSPACE}/drive-foundation_src/bootlin/toolchain-sources_bleeding-edge-2024.02-1.tar.gz
${NV_WORKSPACE}/drive-foundation_src/bootlin/armv5-eabi--glibc--bleeding-edge-2024.02-1.defconfig