From 54c3c3370b1583c4f579d2305347adfa11c0ad8b Mon Sep 17 00:00:00 2001 From: killerkalamari Date: Fri, 16 Mar 2018 18:23:33 -0700 Subject: [PATCH] Added GCC 7 installation and environment setup instructions --- Building-for-Ubuntu-16.04.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Building-for-Ubuntu-16.04.md b/Building-for-Ubuntu-16.04.md index 62d2495..e47a25d 100644 --- a/Building-for-Ubuntu-16.04.md +++ b/Building-for-Ubuntu-16.04.md @@ -11,7 +11,9 @@ The following instructions install `cmake` to `~/cmake`: ### GCC 7 -_TODO: add instruction for installing GCC 7_ + sudo add-apt-repository ppa:jonathonf/gcc-7.1 + sudo apt-get update + sudo apt-get install gcc-7 g++-7 ### Other prerequisites @@ -31,6 +33,8 @@ _TODO: add instruction for installing GCC 7_ cd build export PATH=$HOME/cmake/cmake-3.9.0-Linux-x86_64/bin:$PATH + export CC="gcc-7" + export CXX="g++-7" cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_BUILD_TYPE=Release make