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

Documentation: Add a mention of the recent requirement for a newer

host compiler. On macOS this might have to be specified explicitly.
This commit is contained in:
Valtteri Koskivuori 2020-08-07 00:59:03 +03:00 committed by Andreas Kling
parent 530fb7eb82
commit c1f633e1ee

View file

@ -42,16 +42,8 @@ Ensure your CMake version is >= 3.16 with `cmake --version`. If your system does
#### macOS prerequisites #### macOS prerequisites
Make sure you have all the dependencies installed: Make sure you have all the dependencies installed:
```bash ```bash
brew install coreutils
brew tap discoteq/discoteq brew tap discoteq/discoteq
brew install flock brew install coreutils flock qemu e2fsprogs m4 autoconf libtool automake bash gcc@10
brew install qemu
brew install e2fsprogs
brew install m4
brew install autoconf
brew install libtool
brew install automake
brew install bash
brew cask install osxfuse brew cask install osxfuse
Toolchain/BuildFuseExt2.sh Toolchain/BuildFuseExt2.sh
``` ```
@ -65,6 +57,7 @@ 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. - 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.
- bash is needed because the default version installed on macOS doesn't support globstar - bash is needed because the default version installed on macOS doesn't support globstar
- 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. - 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.
- As of 2020-08-06, you might need to tell the build system about your newer host compiler. Once you've built the toolchain, navigate to `Build/`, `rm -rf *`, then run `cmake .. -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10`, then continue with `make install` as usual.
#### OpenBSD prerequisites #### OpenBSD prerequisites
``` ```