Pulpissimo make error when making hello example
#2
(11-14-2019, 02:36 AM)bunohdwnl Wrote: Hello! I do the flow according to the Pulpissimo's README.md. But I meet a make error when I execute  the flow at the step "Downloading and running tests ".I change directory to  pulp-rt-examples/hello, and execute make clean all run ,then a "No Such File or Directory" error appears. I cat the Makefile,maybe the PULP_SDK_HOME is undefined. Do I need to set the PULP_SDK_HOME in my .bashrc  manually?

Code:
[jiaopy@localhost Jproject]$ cd pulp-rt-examples/hello/
[jiaopy@localhost hello]$ make clean all run
Makefile:6: /install/rules/pulp_rt.mk: No such file or directory
make: *** No rule to make target `/install/rules/pulp_rt.mk'.  Stop.
[jiaopy@localhost hello]$ cat Makefile
PULP_APP = test
PULP_APP_FC_SRCS = test.c
PULP_APP_HOST_SRCS = test.c
PULP_CFLAGS = -O3 -g
include $(PULP_SDK_HOME)/install/rules/pulp_rt.mk

The in the sdk folder there are scripts which you need to source in your bash shell. It sets up the paths to the compiler, makefile fragments, header files etc.

Also dont forget to source the vsim.sh script in the PULPissimo folder. It sets up the path to your questasim binary.
Reply


Messages In This Thread
RE: Pulpissimo make error when making hello example - by bluewww - 11-14-2019, 02:57 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)