mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 16:47:45 +00:00
Meta: Update ReadMe with GCC 8 requirement
This commit is contained in:
parent
9731bff44c
commit
52366e3f02
1 changed files with 7 additions and 0 deletions
|
@ -66,6 +66,13 @@ Make sure you have all the dependencies installed:
|
||||||
sudo apt install libmpfr-dev libmpc-dev libgmp-dev e2fsprogs qemu-system-i386 qemu-utils
|
sudo apt install libmpfr-dev libmpc-dev libgmp-dev e2fsprogs qemu-system-i386 qemu-utils
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Ensure your gcc version is >= 8 with `gcc --version`. Otherwise, install it (on Ubuntu) with:
|
||||||
|
```
|
||||||
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||||
|
sudo apt-get install gcc-8 g++-8
|
||||||
|
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8
|
||||||
|
```
|
||||||
|
|
||||||
Go into the `Toolchain/` directory and run the **BuildIt.sh** script. Then ***source*** the **UseIt.sh** script to put the `i686-pc-serenity` toolchain in your `$PATH`.
|
Go into the `Toolchain/` directory and run the **BuildIt.sh** script. Then ***source*** the **UseIt.sh** script to put the `i686-pc-serenity` toolchain in your `$PATH`.
|
||||||
|
|
||||||
Once you've done both of those, go into the `Kernel/` directory, then run
|
Once you've done both of those, go into the `Kernel/` directory, then run
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue