FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5287 Discussions

make (e=2): the system cannot find the file specified how to fix this

ASobc
Beginner
550 Views

I am running this in the SoC command shell, on windows 10.

 

#

TARGET = de1_soc_hps_binary

 

#

CROSS_COMPILE = arm-linux-gnueabihf-

CFLAGS = -static -g -Wall -I${SOCEDS_DEST_ROOT}/ip/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 *~

0 Kudos
3 Replies
Fawaz_J_Intel
Employee
215 Views
Hello, May I know what are you looking for? I cannot find any error or issue. Is this a build for a preloader? or uboot? Thanks
ASobc
Beginner
215 Views

This build was for a preloader. I solved it though I had an error elsewhere.

 

Thanks

Fawaz_J_Intel
Employee
215 Views
So is there any other error you are seeing? thanks
Reply