cross-compilation

I got a problem with cross-compilation.
I used Ubuntu 18.04 and Jetson Nano Developer Kit. I did try to build the project, but got an error:

16:50:28 **** Incremental Build of configuration Debug for project First ****
make all -C /home/sergey/First/Debug
make: Entering directory ‘/home/sergey/First/Debug’
Building file: …/src/simpleCUBLAS.cpp
Invoking: NVCC Compiler
/usr/local/cuda-10.0/bin/nvcc -G -g -O0 -ccbin arm-linux-gnueabihf-g++ -gencode arch=compute_35,code=sm_35 -m32 -odir “src” -M -o “src/simpleCUBLAS.d” “…/src/simpleCUBLAS.cpp”
arm-linux-gnueabihf-g++: No such file or directory
src/subdir.mk:18: recipe for target ‘src/simpleCUBLAS.o’ failed
make: *** [src/simpleCUBLAS.o] Error 1
make: Leaving directory ‘/home/sergey/First/Debug’

Shell Completed (exit code = 2)

16:50:30 Build Finished (took 1s.184ms)

Please check this:
[url]https://www.thalib.in/notes/2017-02-17-32bit-no-such-a-file-or-directory.html[/url]
Though the more appropriate forum for Jetson related questions would be this:
[url]https://devtalk.nvidia.com/default/board/371/jetson-nano/[/url]

now I use CPU architecture - AArch64. It seems the problem solved after I switched the CPU architecture from ARM to AArch64. Is this correct? what is the CPU architecture for Jetson Nano Developer Kit?

It’s aarch64 but for further question you should really revert to the Jetson forum, there are the people that know about those kind of things, this forum is mainly about the x86 graphics driver.