1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:27:44 +00:00

Build: add support for building on OpenBSD

This requires gcc8 from ports to build the Toolchain.
This commit is contained in:
joshua stein 2020-01-01 20:06:14 -06:00 committed by Andreas Kling
parent d61131945d
commit 5e430e4eb4
7 changed files with 81 additions and 26 deletions

View file

@ -40,6 +40,13 @@ Notes:
- osxfuse, e2fsprogs, m4, autoconf, automake, libtool and `BuildFuseExt2.sh` are needed if you want to build the root filesystem disk image natively on macOS. This allows mounting an EXT2 fs and also installs commands like `mke2fs` that are not available on stock macOS.
- If you install some commercial EXT2 macOS fs handler instead of osxfuse and fuse-ext2, you will need to `brew install e2fsprogs` to obtain `mke2fs` anyway.
### OpenBSD prerequisites
```
pkg_add bash gmp gcc git flock gmake sudo
```
When building with `make`, `gmake` must be used. The `makeall.sh` script will do this automatically when building on OpenBSD.
### Build
Go into the `Toolchain/` directory and run the **BuildIt.sh** script.