Forum Discussion
Altera_Forum
Honored Contributor
8 years agomy first fpga hps
Hello, Im just trying to run my_first_hps_fpga but when I try to make in the shell there is an error I dont get where is the problem pleaase help me there is an attachement.
Altera_Forum
Honored Contributor
8 years agoyeaah Im just put the commnd make and it automatically generated
MY operating system is windows 8.1 Should I have linux to do this in my laptop ? MY MAKE FILE # TARGET = my_first_hps-fpga # 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 *~