From ab005bc8a83415622253b5c91b61630bcb64af5d Mon Sep 17 00:00:00 2001 From: coneypo Date: Mon, 26 Nov 2018 18:36:50 +0800 Subject: [PATCH] Update using_ubuntu_as_sos.rst --- doc/tutorials/using_ubuntu_as_sos.rst | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/tutorials/using_ubuntu_as_sos.rst b/doc/tutorials/using_ubuntu_as_sos.rst index 3ff43b65e..fcd00bd6d 100644 --- a/doc/tutorials/using_ubuntu_as_sos.rst +++ b/doc/tutorials/using_ubuntu_as_sos.rst @@ -39,10 +39,8 @@ Install build tools and dependencies ************************* Install development tools for ARCN development: -* On a Ubuntu development system: -.. note:: - You need to use gcc version 7.3.* or higher else you will run into issue #1396. Follow these instructions to install the gcc-7 package on Ubuntu 16.04: +* On a Ubuntu development system: .. code-block:: none @@ -62,6 +60,19 @@ Install development tools for ARCN development: libblkid-dev \ e2fslibs-dev \ sudo pip3 install kconfiglib + +.. note:: + You need to use gcc version 7.3.* or higher else you will run into issue #1396. Follow these instructions to install the gcc-7 package on Ubuntu 16.04: + + .. code-block:: none + + sudo add-apt-repository ppa:ubuntu-toolchain-r/test + sudo apt update + sudo apt install g++-7 -y + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \ + --slave /usr/bin/g++ g++ /usr/bin/g++-7 + + Install ACRN ************