mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
doc: Updated after GSoC student feedback.
This commit is contained in:
parent
8c19df26f6
commit
374ba95354
@ -9,7 +9,7 @@ RTEMS Source Builder
|
|||||||
image:images/rtemswhitebg.jpg["RTEMS",width="30%"]
|
image:images/rtemswhitebg.jpg["RTEMS",width="30%"]
|
||||||
|
|
||||||
Chris Johns <chrisj@rtems.org>
|
Chris Johns <chrisj@rtems.org>
|
||||||
1.5, March 2014
|
1.6, April 2014
|
||||||
|
|
||||||
RTEMS Tools From Source
|
RTEMS Tools From Source
|
||||||
-----------------------
|
-----------------------
|
||||||
@ -32,16 +32,19 @@ some sort of magic that can take any piece of source code and make it
|
|||||||
build. Someone at some point in time has figured out how to build that package
|
build. Someone at some point in time has figured out how to build that package
|
||||||
from source and taught this tool. The RTEMS Source Builder has been tested on:
|
from source and taught this tool. The RTEMS Source Builder has been tested on:
|
||||||
|
|
||||||
|
[[platform_links]]
|
||||||
* <<_archlinux,Archlinux>>
|
* <<_archlinux,Archlinux>>
|
||||||
* <<_centos,Centos>>
|
* <<_centos,Centos>>
|
||||||
* <<_fedora,Fedora>>
|
* <<_fedora,Fedora>>
|
||||||
* <<_freebsd,FreeBSD>>
|
* <<_freebsd,FreeBSD>>
|
||||||
* <<_netbsd,NetBSD>>
|
* <<_netbsd,NetBSD>>
|
||||||
* <<_macos,MacOS>>
|
* <<_macos,MacOS>>
|
||||||
|
* <<_mint,Linux Mint>>
|
||||||
* <<_opensuse,openSUSE>>
|
* <<_opensuse,openSUSE>>
|
||||||
* <<_raspbian,Raspbian>>
|
* <<_raspbian,Raspbian>>
|
||||||
* <<_ubuntu,Ubuntu>>
|
* <<_ubuntu,Ubuntu>>
|
||||||
* <<_windows,Windows>>
|
* <<_windows,Windows>>
|
||||||
|
* <<_ubuntu,Xubuntu>>
|
||||||
|
|
||||||
The RTEMS Source Builder has two types configuration data. The first is the
|
The RTEMS Source Builder has two types configuration data. The first is the
|
||||||
'build set'. A _build set_ describes a collection of packages that define a set
|
'build set'. A _build set_ describes a collection of packages that define a set
|
||||||
@ -61,8 +64,10 @@ assume the build sets and configuration files you are using have been created
|
|||||||
by developers who do. If you have a problem please ask on the RTEMS Users
|
by developers who do. If you have a problem please ask on the RTEMS Users
|
||||||
mailing list.
|
mailing list.
|
||||||
|
|
||||||
|
*************************************************************
|
||||||
IMPORTANT: If you have a problem please see <<_bugs,the reporting bugs>>
|
IMPORTANT: If you have a problem please see <<_bugs,the reporting bugs>>
|
||||||
section.
|
section.
|
||||||
|
*************************************************************
|
||||||
|
|
||||||
Quick Start
|
Quick Start
|
||||||
-----------
|
-----------
|
||||||
@ -89,13 +94,24 @@ I also suggest you keep your environment to the bare minimum, particularly the
|
|||||||
path variable. Using environment variables has been proven over the years to be
|
path variable. Using environment variables has been proven over the years to be
|
||||||
difficult to manage in production systems.
|
difficult to manage in production systems.
|
||||||
|
|
||||||
|
.Host Setup
|
||||||
|
*************************************************************
|
||||||
|
IMPORTANT: Before proceeding to the next section please refer to the
|
||||||
|
<<_host_setups,host specific setup>> for your host and install any extra
|
||||||
|
packages. The RSB assumes the needed packages are installed and work.
|
||||||
|
*************************************************************
|
||||||
|
|
||||||
.Path to use when building applications
|
.Path to use when building applications
|
||||||
*************************************************************
|
*************************************************************
|
||||||
To use the tools once finished just set your path to the 'bin' directory under
|
TIP: Do not forget to do this before you use the tools such as build RTEMS.
|
||||||
the _prefix_ you use. In the examples that follow the _prefix_ is
|
|
||||||
`$HOME/development/rtems/4.11` and is set using the `--prefix` option so the
|
The RSB by default will install (copy) the executables under the prefix you
|
||||||
|
supply. To use the tools once finished just set your path to the 'bin'
|
||||||
|
directory under the _prefix_ you use. In the examples that follow the _prefix_
|
||||||
|
is `$HOME/development/rtems/4.11` and is set using the `--prefix` option so the
|
||||||
path you need to configure to build applications can be set with the following
|
path you need to configure to build applications can be set with the following
|
||||||
in a BASH shell:
|
in a BASH shell:
|
||||||
|
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
$ export PATH=$HOME/development/rtems/4.11/bin:$PATH
|
$ export PATH=$HOME/development/rtems/4.11/bin:$PATH
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
@ -2541,7 +2557,10 @@ Host Setups
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
The host versions are listed. If a later version of the host operating system
|
The host versions are listed. If a later version of the host operating system
|
||||||
exists it should unless listed.
|
exists it should work unless listed.
|
||||||
|
|
||||||
|
Please provide patches to update these sections if they are wrong or need
|
||||||
|
updating. I cannot install and test each one and rely on getting your feedback.
|
||||||
|
|
||||||
Linux
|
Linux
|
||||||
~~~~~
|
~~~~~
|
||||||
@ -2588,10 +2607,9 @@ Fedora
|
|||||||
The RTEMS Source Builder has been tested on Fedora 18 64bit.
|
The RTEMS Source Builder has been tested on Fedora 18 64bit.
|
||||||
|
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
# yum install ncurses-devel
|
# yum install ncurses-devel python4.7-devel
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
Raspbian
|
Raspbian
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
|
|
||||||
@ -2610,11 +2628,11 @@ home directory as recommended and end up on the SD card.
|
|||||||
Ubuntu
|
Ubuntu
|
||||||
^^^^^^
|
^^^^^^
|
||||||
|
|
||||||
The latest testing was with Ubuntu 12.10 64bit. A minimal installation was used
|
The latest testing was with Ubuntu 13.10 64bit. This section also includes Xubuntu. A
|
||||||
and the following packages installed.
|
minimal installation was used and the following packages installed.
|
||||||
|
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
$ sudo apt-get build-dep binutils gcc g++ gdb unzip git
|
$ sudo apt-get build-dep binutils gcc g++ gdb unzip git python2.7-dev
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
|
|
||||||
FreeBSD
|
FreeBSD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user