Skip to content

Commit

Permalink
docs: recommend gcc >= 5 rather than 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtournier committed May 7, 2020
1 parent c99a501 commit 1eb8b50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/installation/build_from_source.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ subsequent sections.
Required dependencies:

- a `C++11 <https://en.wikipedia.org/wiki/C%2B%2B11>`__ compliant
compiler (GCC version >= 4.9, clang)
compiler (GCC version >= 5, clang)
- `Python <https://www.python.org/>`__ version >= 2.7
- The `zlib <http://www.zlib.net/>`__ compression library
- `Eigen <http://eigen.tuxfamily.org>`__ version >= 3.2
Expand Down Expand Up @@ -104,7 +104,7 @@ packages:

- git

- your compiler (gcc 4.9 or above, or clang)
- your compiler (gcc 5 or above, or clang)

- Python version >2.7

Expand All @@ -129,11 +129,11 @@ packages:
<https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test>`__ -
follow the link for instructions on how to add the PPA. Once the PPA has
been added, you'll need to issue a ``sudo apt-get update``, followed by
``sudo apt-get install g++-4.9``. You will probably also need to tell
``sudo apt-get install g++-7``. You will probably also need to tell
``./configure`` to use this compiler (see ``./configure -help`` for further
options)::

CXX=g++-4.9 ./configure
CXX=g++-7 ./configure


.. SEEALSO::
Expand Down

0 comments on commit 1eb8b50

Please sign in to comment.