I am using Kali Linux 2021.3 with nvhpc_sdk-20.7.
When I compiling a fortran or c++ code, it shows :
/usr/bin/ld: Warning: /opt/nvidia/hpc_sdk/Linux_x86_64/20.7/compilers/lib/nvhpc.ld contains output sections; did you forget -T?
but the codes can run normally. I renamed the file “nvhpc.ld” to “nvhpc.ld.bak”, and then compile the codes. It runs well without the warning message above.
So, what is the function of the file “nvhpc.ld” ? And, could I use nvhpc_sdk compilers without this file ?