aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDinesh Thirumurthy <hakrdinesh@users.noreply.github.com>2019-02-04 06:53:23 +0530
committerGitHub <noreply@github.com>2019-02-04 06:53:23 +0530
commit5e6973db21a04d848067661124b78e7434099d7a (patch)
treedc6c003e25a88c720f8c67d67c9c5cc5671ee5b6 /README.md
parentec694bbddad0dc9af38597c7df63f139d67c77ce (diff)
downloadspike-5e6973db21a04d848067661124b78e7434099d7a.zip
spike-5e6973db21a04d848067661124b78e7434099d7a.tar.gz
spike-5e6973db21a04d848067661124b78e7434099d7a.tar.bz2
build instructions for openbsd
Diffstat (limited to 'README.md')
-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
-------------------------------------------