Added GCC 7 installation and environment setup instructions
@@ -11,7 +11,9 @@ The following instructions install `cmake` to `~/cmake`:
|
|||||||
|
|
||||||
### GCC 7
|
### 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
|
### Other prerequisites
|
||||||
|
|
||||||
@@ -31,6 +33,8 @@ _TODO: add instruction for installing GCC 7_
|
|||||||
cd build
|
cd build
|
||||||
|
|
||||||
export PATH=$HOME/cmake/cmake-3.9.0-Linux-x86_64/bin:$PATH
|
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
|
cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_BUILD_TYPE=Release
|
||||||
make
|
make
|
||||||
|
|||||||
Reference in New Issue
Block a user