From 5e6973db21a04d848067661124b78e7434099d7a Mon Sep 17 00:00:00 2001 From: Dinesh Thirumurthy Date: Mon, 4 Feb 2019 06:53:23 +0530 Subject: [PATCH] build instructions for openbsd --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 98b6bf2d..04e58a92 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 -------------------------------------------