doc: fix formatting and move around optional requirements
- Fix missing spaces between package names - Move optional software to its own section, no need to have it in the main requirement section if it is options - crosstool-NG instead of crosstool-next Generation. Treat that as a brand name. - Fixed command line for installing groups with yum - minor fixes Change-Id: Ib231bb09dea3aa6d3af00961eae8a2e3d6ded011 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
7d23b99ae2
commit
dba6188b58
3 changed files with 61 additions and 61 deletions
|
@ -19,60 +19,15 @@ Install the required packages in a Ubuntu host system, type:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install git make gcc gcc-multilib g++
|
||||
libc6-dev-i386 g++-multilib
|
||||
$ sudo apt-get install git make gcc gcc-multilib g++ \
|
||||
libc6-dev-i386 g++-multilib
|
||||
|
||||
Install the required packages in a Fedora host system, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo yum groupinstall General Development gitmake
|
||||
gccglib-devel.i686 glib2-devel.i686 g++ libc6-dev-i386g++-multilib
|
||||
glibc-static libstdc++-static
|
||||
$ sudo yum groupinstall "Development Tools"
|
||||
$ sudo yum install git make gcc glib-devel.i686 \
|
||||
glib2-devel.i686 g++ libc6-dev-i386 g++-multilib \
|
||||
glibc-static libstdc++-static
|
||||
|
||||
Packages Required for Building Crosstool-next Generation (ct-ng)
|
||||
################################################################
|
||||
|
||||
Your host system must have the following packages for crosstool-next
|
||||
generation (ct-ng):
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install gperf gawk bison flex texinfo libtool
|
||||
automake ncurses- devexpat libexpat1-dev libexpat1 python-dev
|
||||
|
||||
Install libtool-bin for Debian systems, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt- get install libtool-bin
|
||||
|
||||
Requirements for building ARC
|
||||
*****************************
|
||||
Install the needed packages for building ARC in Ubuntu, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install texinfo byacc flex libncurses5-dev
|
||||
zlib1g-dev libexpat1-dev libx11-dev texlive build-essential
|
||||
|
||||
Install the needed packages for building ARC in Fedora, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo yum groupinstall Development Tools
|
||||
|
||||
$ sudo yum install texinfo-tex byacc flex ncurses-devel zlib-devel expat-
|
||||
devel libX11-devel git
|
||||
|
||||
Optional Packages for Crosstool-next Generation building
|
||||
########################################################
|
||||
|
||||
The following packages are optional since the first crosstool-next
|
||||
generation build downloads them if they are not installed.
|
||||
|
||||
Install the optional packages on your host system manually, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install gmp mpfr isl cloog mpc binutils
|
||||
|
|
|
@ -5,8 +5,54 @@ The following installation procedures are optional. At the beginning of
|
|||
each procedure you will find under what conditions the procedure has to
|
||||
be followed.
|
||||
|
||||
Installing the Crosstool Next Generation Toolchain (Optional)
|
||||
*************************************************************
|
||||
Packages Required for Building Crosstool-NG
|
||||
****************************************************************
|
||||
|
||||
Your host system must have the following packages for crosstool-NG:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install gperf gawk bison flex texinfo libtool \
|
||||
automake ncurses- devexpat libexpat1-dev libexpat1 python-dev
|
||||
|
||||
Install libtool-bin for Debian systems, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install libtool-bin
|
||||
|
||||
Requirements for building ARC Toolchain
|
||||
****************************************
|
||||
Install the needed packages for building ARC in Ubuntu, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install texinfo byacc flex libncurses5-dev \
|
||||
zlib1g-dev libexpat1-dev libx11-dev texlive build-essential
|
||||
|
||||
Install the needed packages for building ARC in Fedora, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo yum groupinstall "Development Tools"
|
||||
|
||||
$ sudo yum install texinfo-tex byacc flex ncurses-devel \
|
||||
zlib-devel expat-devel libX11-devel git
|
||||
|
||||
Optional Packages for building Crosstool-NG
|
||||
********************************************
|
||||
|
||||
The following packages are optional since the first crosstool-NG
|
||||
build downloads them if they are not installed.
|
||||
|
||||
Install the optional packages on your host system manually, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo apt-get install gmp mpfr isl cloog mpc binutils
|
||||
|
||||
Installing the Crosstool-NG Toolchain (Optional)
|
||||
************************************************
|
||||
|
||||
If you have installed the Tiny Mountain SDK provided by Yocto, you can
|
||||
skip these steps.
|
||||
|
@ -16,8 +62,7 @@ skip these steps.
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
$ curl -O http://crosstool-ng.org/download/crosstool-ng/crosstool-
|
||||
ng-1.20.0.tar.bz2
|
||||
$ curl -O http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.20.0.tar.bz2
|
||||
|
||||
|
||||
#. Extract the toolchain by typing the following commands in the
|
||||
|
@ -52,7 +97,7 @@ skip these steps.
|
|||
|
||||
$ sudo make install
|
||||
|
||||
$sudo cp ct-ng.comp /etc/bash_completion.d/
|
||||
$ sudo cp ct-ng.comp /etc/bash_completion.d/
|
||||
|
||||
|
||||
#. Create the installation directory for the tool by typing the
|
||||
|
@ -119,7 +164,7 @@ Create the Needed Build Tools
|
|||
|
||||
Alternatively you can add it to your :file:`~/.bashrc` file.
|
||||
|
||||
Adding in the ARC toolchain
|
||||
Adding in the ARC Toolchain
|
||||
***************************
|
||||
|
||||
If you have installed the Tiny Mountain SDK provided by Yocto, you can
|
||||
|
@ -183,7 +228,7 @@ cannot assist in debugging what might go wrong.
|
|||
The commands above are not verified.
|
||||
|
||||
#. Ensure that the pre-built toolchain is found automatically by
|
||||
defs.gcc.x86-linux2.variant_otc and gcc/arch/arc/defs.exec, type:
|
||||
defs.gcc.x86-linux2.variant_xtools and gcc/arch/arc/defs.exec, type:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
@ -415,4 +460,4 @@ The command shows the contents of your SDcard.
|
|||
$ configfile (hd0,msdos1)/efi/boot/grub.cfg
|
||||
|
||||
The command uses the Galileo’s built-in GRUB to parse your config file
|
||||
and list the options you’ve set.
|
||||
and list the options you’ve set.
|
||||
|
|
|
@ -38,7 +38,7 @@ Follow these steps to install the SDK on your host system.
|
|||
|
||||
#. Download the Yocto self-extractable binary from:
|
||||
|
||||
http://yct- rtos02.ostc.intel.com/tm-toolchains-i686-setup.run
|
||||
http://yct-rtos02.ostc.intel.com/tm-toolchains-i686-setup.run
|
||||
|
||||
#. Run the binary, type:
|
||||
|
||||
|
@ -250,4 +250,4 @@ Run a project using the ARM BSP use the following commands:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
$ make pristine && make BSP=ti_lm3s6965 nanokernel.qemu
|
||||
$ make pristine && make BSP=ti_lm3s6965 nanokernel.qemu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue