From 091d8550d063e266a8d1c1b1d997a1b614ed31c6 Mon Sep 17 00:00:00 2001 From: davidharrishmc <74973295+davidharrishmc@users.noreply.github.com> Date: Mon, 18 Oct 2021 13:39:40 -0700 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68da73b2a..5c27c9237 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,15 @@ mkdir build cd build set RISCV=/cad/riscv/gcc/bin (or whatever your path is) ../configure --prefix=$RISCV -make +make (this will take a while to build SPIKE) sudo make install +cd ../../riscv-arch-test +cp ../riscv-isa-sim/arch_test_target/spike/Makefile.include . +edit Makefile.include + change line with TARGETDIR to /home/harris/test/riscv-wally/addins/riscv-isa-sim/arch_test_target (or whatever your path is) ***fix + add line export RISCV_PREFIX = riscv64-unknown-elf- # this might not be needed if you have 32-bit versions of the riscv gcc compiler built separately +make +make XLEN=32 ``` Notes: