my first fpga makefile error
Hello,
I'm just trying to run my_first_hps makefile, from the Cyclone V SoC datasheet, but when I try make in the SoC EDS shell I get the following error:
process_begin: CreateProcess(NULL, arm-linux-gnueabihf-gcc -g -Wall -I $path_to_include -c main.c -o main.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [main.o] Error 2
I'm sure that the path is correct, I'm not sure what it going on. This is the makefile:
#
TARGET = my_first_hps
#
CROSS_COMPILE = arm-linux-gnueabihf-
CFLAGS = -static -g -Wall -I ${SOCEDS_DEST_ROOT}/ip/altera/hps/altera_hps/hwlib/include
LDFLAGS = -g -Wall
CC = $(CROSS_COMPILE)gcc
ARCH= arm
build: $(TARGET)
$(TARGET): main.o
$(CC) $(LDFLAGS) $^ -o $@
%.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
.PHONY: clean
clean:
rm -f $(TARGET) *.a *.o *~
Please help me resolve this issue