aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDinesh Thirumurthy <hakrdinesh@users.noreply.github.com>2019-02-04 06:53:23 +0530
committerDave.Wen <dave.wen@sifive.com>2019-04-06 00:03:30 +0800
commit787f66d69058fc96318d932178b0a25d643850c9 (patch)
tree51cde619cac1d6919ec6ac58474b9ea6c6ef2ba1
parent159ca7f04733f976ed2c380f711420767f2539cb (diff)
downloadspike-787f66d69058fc96318d932178b0a25d643850c9.zip
spike-787f66d69058fc96318d932178b0a25d643850c9.tar.gz
spike-787f66d69058fc96318d932178b0a25d643850c9.tar.bz2
build instructions for openbsd
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 98b6bf2..04e58a9 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,20 @@ install path, and that the riscv-fesvr package is installed there.
$ make
$ [sudo] make install
+Build Steps on OpenBSD
+----------------------
+
+Install bash and gmake, nd ause clang.
+
+ $ pkg_add bash gmake
+ $ exec bash
+ $ export CC=cc; export CXX=c++
+ $ mkdir build
+ $ cd build
+ $ ../configure --prefix=$RISCV --with-fesvr=$RISCV
+ $ gmake
+ $ [doas] make install
+
Compiling and Running a Simple C Program
-------------------------------------------