From 31ed8e27b0860c4638e210d0cb8a149e3c832730 Mon Sep 17 00:00:00 2001 From: Geoffroy Van Cutsem Date: Mon, 25 May 2020 16:01:16 +0200 Subject: [PATCH] doc: update note about min version of gcc and binutils Update the note in the document to indicate the minimum version of gcc and binutils required to succesfully compile ACRN. Signed-off-by: Geoffroy Van Cutsem --- doc/getting-started/building-from-source.rst | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/doc/getting-started/building-from-source.rst b/doc/getting-started/building-from-source.rst index 4f218417f..595fe6be1 100644 --- a/doc/getting-started/building-from-source.rst +++ b/doc/getting-started/building-from-source.rst @@ -96,22 +96,10 @@ Install the necessary tools for the following systems: $ sudo pip3 install kconfiglib .. note:: - Use ``gcc`` version 7.3.* or higher to avoid gcc compilation - issues. Follow these instructions to install the ``gcc-7`` package on - Ubuntu 18.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 - - - ACRN development requires ``binutils`` version 2.27 (or higher). - Verify your version of ``binutils`` with the command ``apt show binutils``. - + ACRN requires ``gcc`` version 7.3.* (or higher) and ``binutils`` version + 2.27 (or higher). Check your development environment to ensure you have + appropriate versions of these packages by using the commands: ``gcc -v`` + and ``ld -v``. .. rst-class:: numbered-step