Hi,
I followed your exact instructions to install the tools. If i would also do the two export path commands that you provided, then I would get the following error:
$ make
arm-none-linux-gnueabihf-gcc -g -Wall -Dsoc_cv_av -I/cygdrive/c/intelFPGA/20.1/embedded/host_tools/linaro/intel-socfpga-hwlib/armv7a/hwlib/include/soc_cv_av -I/cygdrive/c/intelFPGA/20.1/embedded/host_tools/linaro/intel-socfpga-hwlib/armv7a/hwlib/include -c main.c -o main.o
process_begin: CreateProcess(NULL, arm-none-linux-gnueabihf-gcc -g -Wall -Dsoc_cv_av -I/cygdrive/c/intelFPGA/20.1/embedded/host_tools/linaro/intel-socfpga-hwlib/armv7a/hwlib/include/soc_cv_av -I/cygdrive/c/intelFPGA/20.1/embedded/host_tools/linaro/intel-socfpga-hwlib/armv7a/hwlib/include -c main.c -o main.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [main.o] Error 2
On the other hand, if I would skip doing the export path commands, then the make run would be successful, as shown below.
$ make
gcc -g -Wall -Dsoc_cv_av -I/cygdrive/c/intelFPGA/20.1/embedded/host_tools/linaro/intel-socfpga-hwlib/armv7a/hwlib/include/soc_cv_av -I/cygdrive/c/intelFPGA/20.1/embedded/host_tools/linaro/intel-socfpga-hwlib/armv7a/hwlib/include -c main.c -o main.o
gcc -g -Wall main.o -o my_first_hps-fpga
The output would be a .exe file as shown below.
$ ls
main.c main.o Makefile 'Makefile - Copy' my_first_hps-fpga.exe
I copied the my_first_hps-fpga.exe over onto the board SD card, and I tried running it. It gave me the following error:
root@socfpga:~# ./my_first_hps-fpga.exe
-sh: ./my_first_hps-fpga.exe: cannot execute binary file
I also tried running the application that you had compiled with the following error.
root@socfpga:~# ./my_first_hps-fpga
./my_first_hps-fpga: /lib/libc.so.6: version `GLIBC_2.34' not found (required by ./my_first_hps-fpga)