summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-04-23 17:29:29 +1000
committerChris Johns <chrisj@rtems.org>2013-04-23 17:29:29 +1000
commitb328e495935000fb0d502006ffb1ec29a936ccb0 (patch)
treeb0c1180a9af961d40d1acd0dbc5e1c6656178c18 /doc
parentAdd support to check for a valid autoconf for RTEMS. (diff)
downloadrtems-source-builder-b328e495935000fb0d502006ffb1ec29a936ccb0.tar.bz2
Update the RTEMS Configurations to show how to build autotools if they are not valid.
Diffstat (limited to 'doc')
-rw-r--r--doc/source-builder.txt41
1 files changed, 37 insertions, 4 deletions
diff --git a/doc/source-builder.txt b/doc/source-builder.txt
index c5e495b..f9bfc30 100644
--- a/doc/source-builder.txt
+++ b/doc/source-builder.txt
@@ -1592,7 +1592,7 @@ RTEMS Configurations
The RTEMS Configurations are grouped by RTEMS version. In RTEMS the tools are
specific to a specific version because of variations between Newlib and
RTEMS. Restructuring in RTEMS and Newlib sometimes moves _libc_ functionality
-between them and this makes existing tool incompatible with RTEMS.
+between these two parts and this makes existing tools incompatible with RTEMS.
RTEMS allows architectures to have different tool versions and patches. The
large number of architectures RTEMS supports can make it difficult to get a
@@ -1604,9 +1604,42 @@ effect architecture however it could introduce a problem in another
architecture. Limit exposure limits any possible crosstalk between
architectures.
-RTEMS supports _stable_ and _unstable_ configuration of tools. The stable build
-sets are referenced as +<version>/rtems-<arch>+ and the unstable build sets are
-references as +<version>/unstable/rtems-<arch>+.
+RTEMS supports _stable_ and _unstable_. Stable configurations are fixed while
+unstable configurations are supporting using snapshots of user macros and
+reference release candidates or source extracted directly from version
+control. The stable build sets are referenced as +<version>/rtems-<arch>+ and
+include `autoconf` and `automake`.
+
+If you are building a released version of RTEMS the release RTEMS tar file will
+be downloaded and built as part of the build process. If you are building a
+tool set for use with the development branch of RTEMS, the development branch
+will be cloned directly from the RTEMS GIT repository and built.
+
+When building RTEMS within the RTEMS Source Builder it needs a suitable working
+`autoconf` and `automake`. These packages need to built and installed in their
+prefix in order for them to work. The RTEMS Source Builder installs all
+packages only after they have been built so if you host does not have a
+recent enough version of `autoconf` and `automake` you first need to build them
+and install them then build your tool set. The commands are:
+
+-------------------------------------------------------------
+$ ../source-builder/sb-set-builder --log=l-4.11-at.txt \
+ --prefix=$HOME/development/rtems/4.11-at 4.11/rtems-autotools
+$ export PATH=~/development/rtems/4.11/bin:$PATH
+$ ../source-builder/sb-set-builder --log=l-4.11-sparc.txt \
+ --prefix=$HOME/development/rtems/4.11 4.11/rtems-sparc
+-------------------------------------------------------------
+
+To build snapshots for testing purposes you use the available macro maps
+passing them on the command line using the `--macros` option. For RTEMS these
+are held in `config/snapshots` directory. The following build _newlib_ from
+CVS:
+
+-------------------------------------------------------------
+$ ../source-builder/sb-set-builder --log=l-4.11-sparc.txt \
+ --prefix=$HOME/development/rtems/4.11 --macros=snapshots/newlib-head.mc
+ 4.11/rtems-sparc
+-------------------------------------------------------------
Commands
--------