summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hodgen <ant1441@gmail.com>2021-06-12 19:46:52 +0100
committerLinus Groh <mail@linusgroh.de>2021-06-13 17:16:03 +0100
commit6ab48d612a0fbf7670accd07d3c48465d7bfa424 (patch)
treee1f290ec8379733fb93d34e8d461280c1c62ed0c
parent9bc0017499959f8e9f868fda2c7fbd9f9fa63cf4 (diff)
downloadserenity-6ab48d612a0fbf7670accd07d3c48465d7bfa424.zip
Documentation: Move Ubuntu/Debian specific build instructions
Ubuntu/Debian specific instructions should live under the Ubuntu/Debian header
-rw-r--r--Documentation/BuildInstructions.md19
1 files changed, 15 insertions, 4 deletions
diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md
index 138e1fe6d6..b83e3f96ce 100644
--- a/Documentation/BuildInstructions.md
+++ b/Documentation/BuildInstructions.md
@@ -10,7 +10,17 @@ Ensure your [QEMU](https://www.qemu.org/) version is >= 5 with `qemu-system-i386
Ensure your gcc version is >= 10 with `gcc --version`. Otherwise, install it.
-On Ubuntu it's in the repositories of 20.04 (Focal) and later - add the `ubuntu-toolchain-r/test` PPA if you're running an older version:
+Make sure you have all the dependencies installed (`ninja` is optional, but is faster in practice):
+
+#### Debian / Ubuntu
+
+```console
+sudo apt install build-essential cmake curl libmpfr-dev libmpc-dev libgmp-dev e2fsprogs ninja-build qemu-system-i386 qemu-utils ccache rsync
+```
+
+##### GCC 10
+
+On Ubuntu gcc-10 is available in the repositories of 20.04 (Focal) and later - add the `ubuntu-toolchain-r/test` PPA if you're running an older version:
```console
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
@@ -37,12 +47,13 @@ sudo sed -i '$d' /etc/apt/sources.list
sudo apt update
```
-Make sure you have all the dependencies installed (`ninja` is optional, but is faster in practice):
+##### QEMU 5
-#### Debian / Ubuntu
+QUEMU version 5 is available in Ubuntu 20.10. For earlier versions, you can build it using the `Toolchain/BuildQemu.sh` script.
+You may need the gtk+ 3.0 dev package:
```console
-sudo apt install build-essential cmake curl libmpfr-dev libmpc-dev libgmp-dev e2fsprogs ninja-build qemu-system-i386 qemu-utils ccache rsync
+sudo apt install libgtk-3-dev
```
#### Fedora