From 716d66b68885b8b212e8f97f7c10bc44b05c0ace Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Sun, 22 Jun 2025 11:31:25 +0200 Subject: [PATCH] docs: add section in README for compilation on OpenBSD (#24775) --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index cb38f6753d..0cd9f0cadc 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,18 @@ cd v make ``` +### OpenBSD + +On OpenBSD (release 7.7), V needs `boehm-gc` and `openssl-3.4.1p0v0` packages preinstalled. After +installing them, use GNU `make` (installed with `gmake` package), to build V. + +```bash +pkg_add boehm-gc openssl-3.4.1p0v0 gmake +git clone --depth=1 https://github.com/vlang/v +cd v +gmake +``` + ### Termux/Android On Termux, V needs some packages preinstalled - a working C compiler, also `libexecinfo`,