From 787f66d69058fc96318d932178b0a25d643850c9 Mon Sep 17 00:00:00 2001 From: Dinesh Thirumurthy Date: Mon, 4 Feb 2019 06:53:23 +0530 Subject: build instructions for openbsd --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 ------------------------------------------- -- cgit v1.1