mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 05:30:24 +00:00
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 <geoffroy.vancutsem@intel.com>
This commit is contained in:
parent
0079184f97
commit
31ed8e27b0
@ -96,22 +96,10 @@ Install the necessary tools for the following systems:
|
|||||||
$ sudo pip3 install kconfiglib
|
$ sudo pip3 install kconfiglib
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Use ``gcc`` version 7.3.* or higher to avoid gcc compilation
|
ACRN requires ``gcc`` version 7.3.* (or higher) and ``binutils`` version
|
||||||
issues. Follow these instructions to install the ``gcc-7`` package on
|
2.27 (or higher). Check your development environment to ensure you have
|
||||||
Ubuntu 18.04:
|
appropriate versions of these packages by using the commands: ``gcc -v``
|
||||||
|
and ``ld -v``.
|
||||||
.. 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``.
|
|
||||||
|
|
||||||
|
|
||||||
.. rst-class:: numbered-step
|
.. rst-class:: numbered-step
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user