From 9e22b833439528317413c56b613a622b3d10f519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elis=C3=A9e=20Maurer?= Date: Sat, 4 Jan 2020 23:38:15 +0100 Subject: [PATCH] Documentation: Suggest gcc-9 on Ubuntu since PPA doesn't have 8 anymore --- Documentation/BuildInstructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/BuildInstructions.md b/Documentation/BuildInstructions.md index dd1d8cac395..efdb3ab6997 100644 --- a/Documentation/BuildInstructions.md +++ b/Documentation/BuildInstructions.md @@ -10,8 +10,8 @@ sudo apt install build-essential curl libmpfr-dev libmpc-dev libgmp-dev e2fsprog Ensure your gcc version is >= 8 with `gcc --version`. Otherwise, install it (on Ubuntu) with: ```bash 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 +sudo apt-get install gcc-9 g++-9 +sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 900 --slave /usr/bin/g++ g++ /usr/bin/g++-9 ``` ### macOS prerequisites