Toolchain for jetpack4.6.5 Tx2 and Nano

Hi guys,
Which toolchain version can we use for developing applications in tx25 and nano jet pack 4.6.5 gcc-linaro-7.3.1-2018.05-x86_64_ aarch64-linux-gnu. how about this version gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu can we use this? if we need version 8 for higher support for c++ 17 and 20 Linero doesn’t release so using arm developer i think gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu must be used. Does jet pack 4.6.5 support tool-chain v8 ?
Thanks so much.

I can’t answer which will actually work, but it is possible to install two versions (there might be some tricks to that, and it has been a long time since I have done so, but often dual install can succeed). You want to use the recommended compiler for building the kernel itself, or any boot chain components you are working on (there are some libraries which might also care).

I think C++17 and newer is new enough you might have trouble installing those natively on the Jetson without building required components in addition to the actual compiler, but it is ok to have both a newer compiler and an older compiler if you can get a version which works on the older Ubuntu 18.04 (which is what the Nano uses on the L4T R32.x/JetPack 4.x release).

If you look at the web page specifically for your L4T release (see “head -n 1 /etc/nv_tegra_release” for L4T version), you can then go to software specifically for that release:
https://developer.nvidia.com/linux-tegra

You might find some cross compiler software which is correct for a host PC cross compiling for the Jetson kernel and boot chain. In that case you probably don’t need to worry about an older compiler natively on the Jetson, although there are likely a lot of corner cases which would ask for that natively on the Jetson.

Libraries present by default on the Jetson will also be older, and this is likely to get in your way, but you’d have to find out as you go. No packages would exist for the newer libraries on the older system, but it might be possible to compile them yourself (although that can be frustrating due to all of the dependencies).

Feature support for Nanos (older ones, not Orin) ended a long time ago. Right now it is just in maintenance support, and so you won’t find any official updates. One gets newer updates via the L4T R36.x releases, but those so far work only with Orin (even Xavier won’t work with R36.x).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.