diff options
author | Dinesh Thirumurthy <hakrdinesh@users.noreply.github.com> | 2019-02-04 06:53:23 +0530 |
---|---|---|
committer | Dave.Wen <dave.wen@sifive.com> | 2019-04-06 00:03:30 +0800 |
commit | 787f66d69058fc96318d932178b0a25d643850c9 (patch) | |
tree | 51cde619cac1d6919ec6ac58474b9ea6c6ef2ba1 | |
parent | 159ca7f04733f976ed2c380f711420767f2539cb (diff) | |
download | spike-787f66d69058fc96318d932178b0a25d643850c9.zip spike-787f66d69058fc96318d932178b0a25d643850c9.tar.gz spike-787f66d69058fc96318d932178b0a25d643850c9.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 ------------------------------------------- |