I try to install the riscv tool to my Ubuntu 18.04.4 LTS server.
Use the following git repo and follow its build procedure:
GNU tool Installation (Newlib)
Issue spike pk hello
, gives me
Failed to run dtc: No such file or directory Child dtb process failed
I have already installed the device-tree-compiler through apt command.
And checked with which dtc
, outputs /usr/bin/dtc
What might be the problem?
Any help would be appreciated.
I run those commands on a command-line interface, not capable to run any graphic user interface. Not sure if that causes this problem.
The spike simulator is my first attempt to execute riscv code, I am also welcome to other recommendations.
I figure it out by creating a symbolic link using
ln -s $(which dtc)
and the problem is solved.