I need information on hard float tool chain (Ex: arm-linux-gnueabihf-g++), to compile the code on NVIDIA Jetson TX2. Please provide me the information on this, as this is very helpful in compiling the code with lot of floating point operations.
FYI, armhf is for 32-bit ARMv7 with hard float calling convention. Although a TX2 has a compatibility mode for 32-bit it is natively 64-bit. The only way 32-bit would work is if you install 32-bit linker and compatibility library support. If you want to target output on a TX2 for native use it is arm64/aarch64.
What’s wrong with the G++ that comes by default on the Jetson? It does hardware floating point anyway.
“hard floating point” is only needed for low-end Cortex M4 chips when they have an FPU, and for old Raspberry Pis that bolted FPU onto ARM-6.