summaryrefslogtreecommitdiff
path: root/platform/linux
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-07-19 15:17:33 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-07-19 19:24:30 +0300
commit15c5bf359a859ab6bc9492b3b735222ccc0dea97 (patch)
treea19e05b8932d152ff8d8da5b0e90ca4958664556 /platform/linux
parent65ee065d4597f608d2037291481619ca87f5bdcf (diff)
downloadqtlocation-mapboxgl-15c5bf359a859ab6bc9492b3b735222ccc0dea97.tar.gz
[build] Downgrade GCC support from 5.0 to 4.9
Diffstat (limited to 'platform/linux')
-rw-r--r--platform/linux/README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/platform/linux/README.md b/platform/linux/README.md
index b6a3b9a446..8b8ac9d089 100644
--- a/platform/linux/README.md
+++ b/platform/linux/README.md
@@ -8,12 +8,15 @@ This process gives you a Linux desktop app built on a Linux host system.
### Build
-Install GCC 5+ if you are running Ubuntu 14.04 or older. Alternatively, you can also use [Clang 3.5+](http://llvm.org/apt/).
+Install GCC 4.9+ if you are running Ubuntu 14.04 or older. Alternatively, you can also use [Clang 3.5+](http://llvm.org/apt/).
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
sudo apt-get update
- sudo apt-get install gcc-5 g++-5
- export CXX=g++-5
+ sudo apt-get install gcc-4.9 g++-4.9
+ export CXX=g++-4.9
+
+**Note**: We partially support C++14 because GCC 4.9 does not fully implement the
+final draft of the C++14 standard. More information in [DEVELOPING.md](DEVELOPING.md).
Ensure you have git and other build essentials: