1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:37:34 +00:00

Documentation: Clarify that clang can be used as a host compiler

This commit is contained in:
Andrew Kaster 2022-12-17 15:39:53 -07:00 committed by Andrew Kaster
parent 37517ba8bb
commit 75f7a164a6
2 changed files with 16 additions and 6 deletions

View file

@ -11,7 +11,9 @@ sudo apt install build-essential cmake curl libmpfr-dev libmpc-dev libgmp-dev e2
```
Optional: `fuse2fs` for [building images without root](https://github.com/SerenityOS/serenity/pull/11224).
#### GCC 12
#### GCC 12 or Clang 13
A host compiler that supports C++20 features is required for building host tools, the newer the better. Tested versions include gcc-12 and clang-13.
On Ubuntu gcc-12 is available in the repositories of 22.04 (Jammy) and later.
If you are running an older version, you will either need to upgrade, or find an alternative installation source.