From 50f42407f6c2c97d80458d35849bdb9e2f2dcf63 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Fri, 12 Nov 2021 20:53:20 +0100 Subject: [PATCH] Documentation: Add build dependencies for SerenityOS :^) --- Documentation/BuildInstructions.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md index 5d855bd3967..e2ee2d5a331 100644 --- a/Documentation/BuildInstructions.md +++ b/Documentation/BuildInstructions.md @@ -69,6 +69,20 @@ sudo pacman -S --needed base-devel cmake curl mpfr libmpc gmp e2fsprogs ninja qe ``` Optional: `fuse2fs` for [building images without root](https://github.com/SerenityOS/serenity/pull/11224). +### SerenityOS + +The following ports need to be installed: + +```console +bash cmake curl e2fsprogs gawk genext2fs git ninja patch python3 qemu rsync +``` + +Additionally, for building using LLVM, install the `llvm` port. +For building using GCC, install the `gcc`, `gmp` and `mpc` ports. + +Due to not-yet-finished POSIX shell support in `Shell`, a symlink from `/bin/sh` to `/usr/local/bin/bash` is required. +This is best achieved by adding `ln -sf /usr/local/bin/bash mnt/bin/sh` to your [customization script](AdvancedBuildInstructions.md#customizing-the-disk-image). + ### Other systems There is also documentation for installing the build prerequisites for some less commonly used systems: