problem with installing spike simulator.

583 views
Skip to first unread message

nandeesh v

unread,
Jul 24, 2018, 1:41:22 AM7/24/18
to RISC-V SW Dev


Hello,

I'm facing problem with installing spike simulator. Below is what I am doing.

Since we only need to build a few tools, we will use a modified build script, listed in its entirety below. Remember that we'll build riscv64-unknown-linux-gnu-gcc shortly afterwards. If you want to build the full toolchain for later use, see here.

[build-spike-only.sh contents]
1 #!/bin/bash
2 . build.common
3 build_project riscv-fesvr --prefix=$RISCV
4 build_project riscv-isa-sim --prefix=$RISCV --with-fesvr=$RISCV

Run the build script.

$ ./build-spike-only.sh



When i run this script I get an error as below

"Please set the RISCV environment variable to your preferred install path."  (This is from bulid.common)

But I clearly set my RISCV variable to install path "/home/nandeesh/lowrisc-chip/fpga-zynq/rocket-chip/riscv-tools/riscv-gnu-toolchain-compiled". Please help me in resolving this issue. 

riscv64-unknown-elf-gcc  and riscv64-unknown-linux-gnu-gcc are woring fine.



Regards,
Nandeesh V

Sathya Narayanan N

unread,
Jul 24, 2018, 1:58:22 AM7/24/18
to nandeesh v, RISC-V SW Dev
Do the below line.

export RISCV=~/riscv

--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CANTyGikzggaLXSEQE7nOHotRsJrQxVaxdUWR-ogxyCwBEeU%2B2A%40mail.gmail.com.



--
 regards,
Sathya  

 
Reply all
Reply to author
Forward
0 new messages