Trying to follow instructions from https://blog.monotok.org/compile-locally-run-raspberry-pi-via-clion/ for building executables on my local machine for my raspberry pi.
I have downloaded raspberry pi tools from https://github.com/raspberrypi/tools and am simply trying to run the compiler on my Raspberry Pi Zero W. When I do so, I get the following error:
pi@raspberrypi:~/SoftwareDevelopment/lib/raspberry-pi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin $ ./arm-linux-gnueabihf-gcc -bash: ./arm-linux-gnueabihf-gcc: cannot execute binary file: Exec format error
I am running raspbian pi.
I ended up using localhost for my remote host in order to do the build using the cross-compiler.