From d5cee835d2465f25efedd5d5a0a2263c1da587bd Mon Sep 17 00:00:00 2001 From: Geoffroy Van Cutsem Date: Wed, 24 Apr 2019 15:29:33 +0200 Subject: [PATCH] doc: update instructions for building ACRN on Ubuntu 16.04 Update the instructions on how to build ACRN on Ubuntu 16.04, specifically: * Add 'pkg-config' package * Upgrade 'binutils' to 2.27 Note: there is still an issue with regards to the GPIO header (linux/gpio.h) which needs to be resolved. Tracked-On: #2737 Signed-off-by: Geoffroy Van Cutsem --- doc/getting-started/building-from-source.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/doc/getting-started/building-from-source.rst b/doc/getting-started/building-from-source.rst index 684ab3856..c48ea439e 100644 --- a/doc/getting-started/building-from-source.rst +++ b/doc/getting-started/building-from-source.rst @@ -41,7 +41,8 @@ each with their own way to install development tools: python3 \ python3-pip \ libblkid-dev \ - e2fslibs-dev + e2fslibs-dev \ + pkg-config $ sudo pip3 install kconfiglib .. note:: @@ -57,6 +58,21 @@ each with their own way to install development tools: $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \ --slave /usr/bin/g++ g++ /usr/bin/g++-7 + .. note:: + ACRN development requires ``binutils`` version 2.27 (or higher). You can + verify your version of ``binutils`` with the command ``apt show binutils``. + While Ubuntu 18.04 has a new version of ``binutils`` the default version on + Ubuntu 16.04 needs updating (see issue `#1133 + `_). + + .. code-block:: none + + $ wget https://mirrors.ocf.berkeley.edu/gnu/binutils/binutils-2.27.tar.gz + $ tar xzvf binutils-2.27 && cd binutils-2.27 + $ ./configure + $ make + $ sudo make install + .. note:: Ubuntu 14.04 requires ``libsystemd-journal-dev`` instead of ``libsystemd-dev`` as indicated above.