diff options
author | Dinesh Thirumurthy <hakrdinesh@users.noreply.github.com> | 2019-02-04 06:53:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-04 06:53:23 +0530 |
commit | 5e6973db21a04d848067661124b78e7434099d7a (patch) | |
tree | dc6c003e25a88c720f8c67d67c9c5cc5671ee5b6 | |
parent | ec694bbddad0dc9af38597c7df63f139d67c77ce (diff) | |
download | spike-5e6973db21a04d848067661124b78e7434099d7a.zip spike-5e6973db21a04d848067661124b78e7434099d7a.tar.gz spike-5e6973db21a04d848067661124b78e7434099d7a.tar.bz2 |
build instructions for openbsd
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 ------------------------------------------- |