docs: add section in README for compilation on OpenBSD (#24775)

This commit is contained in:
Laurent Cheylus 2025-06-22 11:31:25 +02:00 committed by GitHub
parent cb3a106e1d
commit 716d66b688
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`,