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