summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-11-12 20:53:20 +0100
committerLinus Groh <mail@linusgroh.de>2023-04-14 19:00:46 +0200
commit50f42407f6c2c97d80458d35849bdb9e2f2dcf63 (patch)
treeb028d167d20f84ee840714c86623a7a6c458b583 /Documentation
parent781287c1e38aa55f3bb283ead7a9b3776c340b77 (diff)
downloadserenity-50f42407f6c2c97d80458d35849bdb9e2f2dcf63.zip
Documentation: Add build dependencies for SerenityOS :^)
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/BuildInstructions.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md
index 5d855bd396..e2ee2d5a33 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: