summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-19 18:03:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-09-19 18:03:32 +0000
commitbf31efd87166ab29b41dd837f73021d636af6d32 (patch)
tree1884381b0e92af04eeb5a65e746d65610c2585fc
parent2003-09-19 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-bf31efd87166ab29b41dd837f73021d636af6d32.tar.bz2
2003-09-19 Joel Sherrill <joel@OARcorp.com>
* .cvsignore, binaries.t, buildc.t, buildrt.t, intro.t, nextstep.t, nt.t, started.texi: Merge from branch. * tversions.texi.in: New file.
-rw-r--r--doc/started/.cvsignore2
-rw-r--r--doc/started/ChangeLog6
-rw-r--r--doc/started/binaries.t66
-rw-r--r--doc/started/buildc.t171
-rw-r--r--doc/started/buildrt.t16
-rw-r--r--doc/started/intro.t6
-rw-r--r--doc/started/nextstep.t7
-rw-r--r--doc/started/nt.t2
-rw-r--r--doc/started/started.texi1
-rw-r--r--doc/started/tversions.texi.in91
10 files changed, 230 insertions, 138 deletions
diff --git a/doc/started/.cvsignore b/doc/started/.cvsignore
index d35238f21b..9acc7b2f5d 100644
--- a/doc/started/.cvsignore
+++ b/doc/started/.cvsignore
@@ -30,3 +30,5 @@ started.toc
started.tp
started.vr
version.texi
+tversions.texi
+tversions.sed
diff --git a/doc/started/ChangeLog b/doc/started/ChangeLog
index f6ac2ebac2..cf826f6c72 100644
--- a/doc/started/ChangeLog
+++ b/doc/started/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-19 Joel Sherrill <joel@OARcorp.com>
+
+ * .cvsignore, binaries.t, buildc.t, buildrt.t, intro.t, nextstep.t,
+ nt.t, started.texi: Merge from branch.
+ * tversions.texi.in: New file.
+
2003-08-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* intro.t, nextstep.t: Fix mailing list addresses.
diff --git a/doc/started/binaries.t b/doc/started/binaries.t
index 283a49b3ce..22ce3aa1a8 100644
--- a/doc/started/binaries.t
+++ b/doc/started/binaries.t
@@ -12,17 +12,17 @@ Precompiled toolsets are available for Linux, Cygwin, FreeBSD,
and Solaris. These are packaged in the following formats:
@itemize @bullet
-@item Linux - RPM and Debian
-@item Cygwin - RPM and zipped tar
-@item FreeBSD - native package
-@item Solaris - RPM and zipped tar
+@item Linux - RPM
+@item Cygwin - tar.bz2
+@item Solaris - tar.bz2
@end itemize
-RPM is an acronym for the RedHat Package Manager. RPM is the
+RPM is an acronym for the RPM Package Manager. RPM is the
native package installer for many Linux distributions including
-RedHat and SuSE. RPM supports other operating systems including
-Cygwin. @uref{mailto:D.J@@fiddes.surfaid.org,David Fiddes <D.J@@fiddes.surfaid.org>}
-did the initial groundwork that lead to Cygwin RPMs being available.
+RedHat and SuSE.
+@c RPM supports other operating systems including
+@c Cygwin. @uref{mailto:D.J@@fiddes.surfaid.org,David Fiddes <D.J@@fiddes.surfaid.org>}
+@c did the initial groundwork that lead to Cygwin RPMs being available.
The prebuilt binaries are intended to be easy to install and
the instructions are similar regardless of the host environment.
@@ -39,8 +39,8 @@ across all target architectures. These are referred to as
"base" packages.
@item If buildable for a particular CPU, RPMs are provided for
-Chill, Java (gcj), Fortran (g77), and Objective-C (objc). These
-binaries are strictly optional.
+Ada (gnat), Chill, Java (gcj), Fortran (g77), and Objective-C (objc).
+These binaries are strictly optional.
@end enumerate
@@ -58,18 +58,18 @@ The following is a sample session illustrating the installation
of a C/C++ toolset targeting the SPARC architecture.
@example
-rpm -i rtems-base-binutils-2.9.5.0.24-1.i386.rpm
-rpm -i sparc-rtems-binutils-2.9.5.0.24-1.i386.rpm
-rpm -i rtems-base-gcc-gcc2.95.2newlib1.8.2-7.i386.rpm
-rpm -i sparc-rtems-gcc-gcc2.95.2newlib1.8.2-7.i386.rpm
-rpm -i rtems-base-gdb-4.18-4.i386.rpm
-rpm -i sparc-rtems-gdb-4.18-4.i386.rpm
+rpm -i rtems-base-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.i386.rpm
+rpm -i sparc-rtems-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.i386.rpm
+rpm -i rtems-base-gcc-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+rpm -i sparc-rtems-gcc-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+rpm -i rtems-base-gdb-@value{GDBVERSION}-@value{GDBRPMRELEASE}.i386.rpm
+rpm -i sparc-rtems-gdb-@value{GDBVERSION}-@value{GDBRPMRELEASE}.i386.rpm
@end example
Upon successful completion of the above command sequence, a
C/C++ cross development toolset targeting the SPARC is
-installed in @code{/opt/rtems}. In order to use this toolset,
-the directory @code{/opt/rtems/bin} must be included in your
+installed in @code{@value{RTEMSPREFIX}}. In order to use this toolset,
+the directory @code{@value{RTEMSPREFIX}/bin} must be included in your
PATH.
Once you have successfully installed the RPMs for BINUTILS, GCC,
@@ -90,12 +90,12 @@ The following is a sample session illustrating the removal
of a C/C++ toolset targeting the SPARC architecture.
@example
-rpm -e sparc-rtems-gdb-4.18-2.i386.rpm
-rpm -e rtems-base-gdb-4.18-2.i386.rpm
-rpm -e sparc-rtems-gcc-gcc2.95.2newlib1.8.2-4.i386.rpm
-rpm -e rtems-base-gcc-gcc2.95.2newlib1.8.2-4.i386.rpm
-rpm -e sparc-rtems-binutils-2.9.5.0.24-1.i386.rpm
-rpm -e rtems-base-binutils-2.9.5.0.24-1.i386.rpm
+rpm -e sparc-rtems-gdb-@value{GDBVERSION}-@value{GDBRPMRELEASE}.i386.rpm
+rpm -e rtems-base-gdb-@value{GDBVERSION}-@value{GDBRPMRELEASE}.i386.rpm
+rpm -e sparc-rtems-gcc-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+rpm -e rtems-base-gcc-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+rpm -e sparc-rtems-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.i386.rpm
+rpm -e rtems-base-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.i386.rpm
@end example
NOTE: If you have installed any RTEMS BSPs, then it is likely that
@@ -114,24 +114,24 @@ that GNU tar is installed as @code{tar}:
@example
cd /
-tar xzf rtems-base-binutils-2.9.5.0.24-1.tgz
-tar xzf sparc-rtems-binutils-2.9.5.0.24-1.tgz
-tar xzf rtems-base-gcc-gcc2.95.2newlib1.8.2-4.tgz
-tar xzf sparc-rtems-gcc-gcc2.95.2newlib1.8.2-4.tgz
-tar xzf rtems-base-gdb-4.18-2.tgz
-tar xzf sparc-rtems-gdb-4.18-2.tgz
+tar xzf rtems-base-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.tgz
+tar xzf sparc-rtems-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.tgz
+tar xzf rtems-base-gcc-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.tgz
+tar xzf sparc-rtems-gcc-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.tgz
+tar xzf rtems-base-gdb-@value{GDBVERSION}-@value{GDBRPMRELEASE}.tgz
+tar xzf sparc-rtems-gdb-@value{GDBVERSION}-@value{GDBRPMRELEASE}.tgz
@end example
Upon successful completion of the above command sequence, a
C/C++ cross development toolset targeting the SPARC is
-installed in @code{/opt/rtems}. In order to use this toolset,
-the directory @code{/opt/rtems/bin} must be included in your
+installed in @code{@value{RTEMSPREFIX}}. In order to use this toolset,
+the directory @code{@value{RTEMSPREFIX}} must be included in your
PATH.
@subsection Removing Zipped Tar Files
There is no automatic way to remove the contents of a @code{tgz} once
-it is installed. The contents of the directory @code{/opt/rtems}
+it is installed. The contents of the directory @code{@value{RTEMSPREFIX}}
can be removed but this will likely result in other packages
being removed as well.
diff --git a/doc/started/buildc.t b/doc/started/buildc.t
index f32f0eacca..08d2ce152f 100644
--- a/doc/started/buildc.t
+++ b/doc/started/buildc.t
@@ -53,39 +53,39 @@ placed in your @code{archive} directory. Included are the locations
of each component as well as any required RTEMS specific patches.
@need 1000
-@subheading @value{GCCVERSION}
+@subheading @value{GCCUNTAR}
@example
FTP Site: @value{GCCFTPSITE}
Directory: @value{GCCFTPDIR}
File: @value{GCCTAR}
-@ifset use-html
-@c URL: @uref{Download @value{GCCVERSION}, ftp://@value{GCCFTPSITE}@value{GCCFTPDIR}}
- URL: ftp://@value{GCCFTPSITE}@value{GCCFTPDIR}
-@end ifset
+@c @ifset use-html
+ URL: @uref{ftp://@value{GCCFTPSITE}@value{GCCFTPDIR}/@value{GCCTAR},,ftp://@value{GCCFTPSITE}@value{GCCFTPDIR}/@value{GCCTAR}}
+@c URL: ftp://@value{GCCFTPSITE}@value{GCCFTPDIR}
+@c @end ifset
@end example
@need 1000
-@subheading @value{BINUTILSVERSION}
+@subheading @value{BINUTILSUNTAR}
@example
FTP Site: @value{BINUTILSFTPSITE}
Directory: @value{BINUTILSFTPDIR}
File: @value{BINUTILSTAR}
-@ifset use-html
-@c URL: @uref{ftp://@value{BINUTILSFTPSITE}@value{BINUTILSFTPDIR}/@value{BINUTILSTAR},Download @value{BINUTILSVERSION}}
- URL: ftp://@value{BINUTILSFTPSITE}@value{BINUTILSFTPDIR}/@value{BINUTILSTAR}
-@end ifset
+@c @ifset use-html
+ URL: @uref{ftp://@value{BINUTILSFTPSITE}@value{BINUTILSFTPDIR}/@value{BINUTILSTAR},,ftp://@value{BINUTILSFTPSITE}@value{BINUTILSFTPDIR}/@value{BINUTILSTAR}}
+@c URL: ftp://@value{BINUTILSFTPSITE}@value{BINUTILSFTPDIR}/@value{BINUTILSTAR}
+@c @end ifset
@end example
@need 1000
-@subheading @value{NEWLIBVERSION}
+@subheading @value{NEWLIBUNTAR}
@example
FTP Site: @value{NEWLIBFTPSITE}
Directory: @value{NEWLIBFTPDIR}
File: @value{NEWLIBTAR}
-@ifset use-html
-@c URL: @uref{ftp://@value{NEWLIBFTPSITE}@value{NEWLIBFTPDIR}/@value{NEWLIBTAR}, Download @value{NEWLIBVERSION}}
- URL: ftp://@value{NEWLIBFTPSITE}@value{NEWLIBFTPDIR}/@value{NEWLIBTAR}
-@end ifset
+@c @ifset use-html
+ URL: @uref{ftp://@value{NEWLIBFTPSITE}@value{NEWLIBFTPDIR}/@value{NEWLIBTAR},,ftp://@value{NEWLIBFTPSITE}@value{NEWLIBFTPDIR}/@value{NEWLIBTAR}}
+@c URL: ftp://@value{NEWLIBFTPSITE}@value{NEWLIBFTPDIR}/@value{NEWLIBTAR}
+@c @end ifset
@end example
@need 1000
@@ -93,16 +93,13 @@ of each component as well as any required RTEMS specific patches.
@example
FTP Site: @value{RTEMSFTPSITE}
Directory: @value{RTEMSFTPDIR}/c_tools/source
-@ifset BUILDTOOLSTAR
- File: @value{BUILDTOOLSTAR}
-@end ifset
-@ifset BINUTILSRTEMSPATCH
+@ifset BINUTILSPATCHVERSION
File: @value{BINUTILSRTEMSPATCH}
@end ifset
-@ifset NEWLIBRTEMSPATCH
+@ifset NEWLIBPATCHVERSION
File: @value{NEWLIBRTEMSPATCH}
@end ifset
-@ifset GCCRTEMSPATCH
+@ifset GCCPATCHVERSION
File: @value{GCCRTEMSPATCH}
@end ifset
@ifset use-html
@@ -155,13 +152,13 @@ The tree should look something like the following figure:
@value{GCCTAR}
@value{BINUTILSTAR}
@value{NEWLIBTAR}
-@ifset GCCRTEMSPATCH
+@ifset GCCPATCHVERSION
@value{GCCRTEMSPATCH}
@end ifset
-@ifset BINUTILSRTEMSPATCH
+@ifset BINUTILSPATCHVERSION
@value{BINUTILSRTEMSPATCH}
@end ifset
-@ifset NEWLIBRTEMSPATCH
+@ifset NEWLIBPATCHVERSION
@value{NEWLIBRTEMSPATCH}
@end ifset
tools/
@@ -191,12 +188,12 @@ to GCC, NEWLIB, and BINUTILS.
@subheading Apply RTEMS Patch to GCC
-@ifclear GCCRTEMSPATCH
-No RTEMS specific patches are required for @value{GCCVERSION} to
+@ifclear GCCPATCHVERSION
+No RTEMS specific patches are required for @value{GCCUNTAR} to
support @value{RTEMSVERSION}.
@end ifclear
-@ifset GCCRTEMSPATCH
+@ifset GCCPATCHVERSION
Apply the patch using the following command sequence:
@@ -231,12 +228,12 @@ This should not happen with a good patch file which is properly applied.
@subheading Apply RTEMS Patch to binutils
-@ifclear BINUTILSRTEMSPATCH
-No RTEMS specific patches are required for @value{BINUTILSVERSION} to
+@ifclear BINUTILSPATCHVERSION
+No RTEMS specific patches are required for @value{BINUTILSUNTAR} to
support @value{RTEMSVERSION}.
@end ifclear
-@ifset BINUTILSRTEMSPATCH
+@ifset BINUTILSPATCHVERSION
Apply the patch using the following command sequence:
@example
@@ -270,12 +267,12 @@ This should not happen with a good patch file which is properly applied.
@subheading Apply RTEMS Patch to newlib
-@ifclear NEWLIBRTEMSPATCH
-No RTEMS specific patches are required for @value{NEWLIBVERSION} to
+@ifclear NEWLIBPATCHVERSION
+No RTEMS specific patches are required for @value{NEWLIBUNTAR} to
support @value{RTEMSVERSION}.
@end ifclear
-@ifset NEWLIBRTEMSPATCH
+@ifset NEWLIBPATCHVERSION
Apply the patch using the following command sequence:
@@ -352,14 +349,14 @@ starts by installing the source RPMs as shown in the following
example:
@example
-rpm -i i386-rtems-binutils-collection-2.9.5.0.24-1.nosrc.rpm
-rpm -i i386-rtems-gcc-newlib-gcc2.95.2newlib1.8.2-7.nosrc.rpm
+rpm -i i386-rtems-binutils-collection-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.nosrc.rpm
+rpm -i i386-rtems-gcc-newlib-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.nosrc.rpm
@end example
-Because RTEMS tool RPMS are called "nosrc" to indicate that one or
+The RTEMS tool source RPMS are called "nosrc" to indicate that one or
more source files required to produce the RPMs are not present.
-The RTEMS source RPMs do not include the large @code{.tar.gz} or
-@code{.tgz} files for
+The RTEMS source RPMs typically include all required patches, but do not
+include the large @code{.tar.gz} or @code{.tgz} files for
each component such as BINUTILS, GCC, or NEWLIB. These are shared
by all RTEMS RPMs regardless of target CPU and there was no reason
to duplicate them. You will have to get the required source
@@ -370,16 +367,21 @@ included or referenced by a particular RPM, use a command like the
following:
@example
-$ rpm -q -l -p i386-rtems-binutils-collection-2.9.5.0.24-1.nosrc.rpm
-binutils-2.9.5.0.24-rtems-20000207.diff
-binutils-2.9.5.0.24.tar.gz
-i386-rtems-binutils-2.9.5.0.24.spec
+@c Don't use @value{GCC*} below. This is an example
+$ rpm -q -l -p i386-rtems-gcc-newlib-gcc3.2.3newlib1.11.0-1.nosrc.rpm
+gcc-3.2.3-rtems-20030507a.diff
+i386-rtems-gcc-3.2.3-newlib-1.11.0.spec
+newlib-1.11.0-rtems-20030507.diff
@end example
-Notice that there is a patch file (the @code{.diff} file), a source archive
-file (the @code{.tar.gz}), and a file describing the build procedure and
-files produced (the @code{.spec} file). The @code{.spec} file is placed
-in the @code{SPECS} directory under the RPM root directory.
+Notice that there are patch files (the @code{.diff} files) and a file
+describing the build procedure and files produced (the @code{.spec} file),
+but no source archives (the @code{*tar.*} files).
+When installing this source RPM
+(@code{rpm -U i386-rtems-gcc-newlib-gcc3.2.3newlib1.11.0-1.nosrc.rpm}),
+the @code{.spec} file is placed in the @code{SPECS} directory under the RPM root
+directory, while the @code{*.diff} files are placed into the @code{SOURCES}
+directory.
@c
@c Configuring and Building BINUTILS using RPM
@@ -393,7 +395,7 @@ RPM. This example assumes that all of the required source is installed.
@example
cd <RPM_ROOT_DIRECTORY>/SPECS
-rpm -bb i386-rtems-binutils-2.9.5.0.24.spec
+rpm -bb i386-rtems-binutils-@value{BINUTILSVERSION}.spec
@end example
If the build completes successfully, RPMS like the following will
@@ -401,8 +403,8 @@ be generated in a build-host architecture specific subdirectory
of the RPMS directory under the RPM root directory.
@example
-rtems-base-binutils-2.9.5.0.24-1.i386.rpm
-i386-rtems-binutils-2.9.5.0.24-1.i386.rpm
+rtems-base-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.i386.rpm
+i386-rtems-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.i386.rpm
@end example
NOTE: It may be necessary to remove the build tree in the
@@ -422,11 +424,11 @@ the required source is installed.
@example
cd <RPM_ROOT_DIRECTORY>/RPMS/i386
-rpm -i rtems-base-binutils-2.9.5.0.24-1.i386.rpm
-rpm -i i386-rtems-binutils-2.9.5.0.24-1.i386.rpm
-export PATH=/opt/rtems/bin:$PATH
+rpm -i rtems-base-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.i386.rpm
+rpm -i i386-rtems-binutils-@value{BINUTILSVERSION}-@value{BINUTILSRPMRELEASE}.i386.rpm
+export PATH=@value{RTEMSPREFIX}/bin:$PATH
cd <RPM_ROOT_DIRECTORY>/SPECS
-rpm -bb i386-rtems-gcc-2.95.2-newlib-1.8.2.spec
+rpm -bb i386-rtems-gcc-@value{GCCVERSION}-newlib-@value{NEWLIBVERSION}.spec
@end example
If the build completes successfully, a set of RPMS like the following will
@@ -434,15 +436,15 @@ be generated in a build-host architecture specific subdirectory
of the RPMS directory under the RPM root directory.
@example
-rtems-base-gcc-gcc2.95.2newlib1.8.2-7.i386.rpm
-rtems-base-chill-gcc2.95.2newlib1.8.2-7.i386.rpm
-rtems-base-g77-gcc2.95.2newlib1.8.2-7.i386.rpm
-rtems-base-gcj-gcc2.95.2newlib1.8.2-7.i386.rpm
-i386-rtems-gcc-gcc2.95.2newlib1.8.2-7.i386.rpm
-i386-rtems-chill-gcc2.95.2newlib1.8.2-7.i386.rpm
-i386-rtems-g77-gcc2.95.2newlib1.8.2-7.i386.rpm
-i386-rtems-gcj-gcc2.95.2newlib1.8.2-7.i386.rpm
-i386-rtems-objc-gcc2.95.2newlib1.8.2-7.i386.rpm
+rtems-base-gcc-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+rtems-base-chill-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+rtems-base-g77-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+rtems-base-gcj-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+i386-rtems-gcc-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+i386-rtems-chill-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+i386-rtems-g77-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+i386-rtems-gcj-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
+i386-rtems-objc-gcc@value{GCCVERSION}newlib@value{NEWLIBVERSION}-@value{GCCRPMRELEASE}.i386.rpm
@end example
NOTE: Some targets do not support building all languages.
@@ -483,7 +485,7 @@ sparc-rtems target:
mkdir b-binutils
cd b-binutils
../@value{BINUTILSUNTAR}/configure --target=sparc-rtems \
- --prefix=/opt/rtems
+ --prefix=@value{RTEMSPREFIX}
make all
make info
make install
@@ -502,7 +504,7 @@ the binutils has been installed in. This the prefix used above with
@file{bin} post-fixed.
@example
-export PATH=$PATH:/opt/rtems/bin
+export PATH=$PATH:@value{RTEMSPREFIX}/bin
@end example
Failure to have the binutils in the path will cause the GCC and NEWLIB
@@ -543,7 +545,7 @@ mkdir b-gcc
cd b-gcc
../@value{GCCUNTAR}/configure --target=sparc-rtems \
--with-gnu-as --with-gnu-ld --with-newlib --verbose \
- --enable-threads --prefix=/opt/rtems
+ --enable-threads --prefix=@value{RTEMSPREFIX}
make all
make info
make install
@@ -606,15 +608,12 @@ placed in your @code{archive} directory. Included are the locations
of each component as well as any required RTEMS specific patches.
@need 1000
-@subheading @value{GDBVERSION}
+@subheading @value{GDBUNTAR}
@example
FTP Site: @value{GDBFTPSITE}
Directory: @value{GDBFTPDIR}
File: @value{GDBTAR}
-@ifset use-html
-@c URL: @uref{Download @value{GDBVERSION}, ftp://@value{GDBFTPSITE}@value{GDBFTPDIR}}
- URL: ftp://@value{GDBFTPSITE}@value{GDBFTPDIR}
-@end ifset
+ URL: @uref{@value{GDBFTPURL},,@value{GDBFTPURL}}
@end example
@need 1000
@@ -622,15 +621,9 @@ of each component as well as any required RTEMS specific patches.
@example
FTP Site: @value{RTEMSFTPSITE}
Directory: @value{RTEMSFTPDIR}/c_tools/source
-@ifset BUILDTOOLSTAR
- File: @value{BUILDTOOLSTAR}
-@end ifset
-@ifset GDBRTEMSPATCH
+@ifset GDBPATCHVERSION
File: @value{GDBRTEMSPATCH}
-@end ifset
-@ifset use-html
-@c URL: @uref{ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/c_tools/source,Download RTEMS Patches and Scripts}
- URL: ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/c_tools/source
+ URL: @uref{ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/c_tools/source/@value{GDBRTEMSPATCH},,ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/c_tools/source/@value{GDBRTEMSPATCH}}
@end ifset
@end example
@@ -654,12 +647,12 @@ The directory @value{GDBUNTAR} is created under the tools directory.
@subsection Applying RTEMS Patch to GDB
-@ifclear GDBRTEMSPATCH
+@ifclear GDBPATCHVERSION
No RTEMS specific patches are required for @value{GDBVERSION} to
support @value{RTEMSVERSION}.
@end ifclear
-@ifset GDBRTEMSPATCH
+@ifset GDBPATCHVERSION
Apply the patch using the following command sequence:
@@ -722,7 +715,7 @@ starts by installing the source RPMs as shown in the following
example:
@example
-rpm -i i386-rtems-gdb-collection-4.18-4.nosrc.rpm
+rpm -i i386-rtems-gdb-collection-@value{GDBVERSION}-@value{GDBRPMRELEASE}.nosrc.rpm
@end example
Because RTEMS tool RPMS are called "nosrc" to indicate that one or
@@ -738,10 +731,10 @@ included or referenced by a particular RPM, use a command like the
following:
@example
-$ rpm -q -l -p i386-rtems-gdb-collection-4.18-4.nosrc.rpm
-gdb-4.18-rtems-20000524.diff
-gdb-4.18.tar.gz
-i386-rtems-gdb-4.18.spec
+$ rpm -q -l -p i386-rtems-gdb-collection-@value{GDBVERSION}-@value{GDBRPMRELEASE}.nosrc.rpm
+gdb-@value{GDBVERSION}-rtems-@value{GDBPATCHVERSION}.diff
+gdb-@value{GDBVERSION}.tar.gz
+i386-rtems-gdb-@value{GDBVERSION}.spec
@end example
Notice that there is a patch file (the @code{.diff} file), a source archive
@@ -761,7 +754,7 @@ RPM. This example assumes that all of the required source is installed.
@example
cd <RPM_ROOT_DIRECTORY>/SPECS
-rpm -bb i386-rtems-gdb-4.18.spec
+rpm -bb i386-rtems-gdb-@value{GDBVERSION}.spec
@end example
If the build completes successfully, RPMS like the following will
@@ -769,8 +762,8 @@ be generated in a build-host architecture specific subdirectory
of the RPMS directory under the RPM root directory.
@example
-rtems-base-gdb-4.18-4.i386.rpm
-i386-rtems-gdb-4.18-4.i386.rpm
+rtems-base-gdb-@value{GDBVERSION}-@value{GDBRPMRELEASE}.i386.rpm
+i386-rtems-gdb-@value{GDBVERSION}-@value{GDBRPMRELEASE}.i386.rpm
@end example
NOTE: It may be necessary to remove the build tree in the
@@ -792,7 +785,7 @@ m68k-rtems target:
mkdir b-gdb
cd b-gdb
../@value{GDBUNTAR}/configure --target=m68k-rtems \
- --prefix=/opt/rtems
+ --prefix=@value{RTEMSPREFIX}
make all
make info
make install
diff --git a/doc/started/buildrt.t b/doc/started/buildrt.t
index 20f7af512d..565427c738 100644
--- a/doc/started/buildrt.t
+++ b/doc/started/buildrt.t
@@ -31,10 +31,7 @@ placed in your @code{archive} directory.
FTP Site: @value{RTEMSFTPSITE}
Directory: @value{RTEMSFTPDIR}
File: hello_world_c.tgz
-@ifset use-html
-@c URL: @uref{ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/hello_world_c.tgz, Download RTEMS Hello World}
- URL: ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/hello_world_c.tgz
-@end ifset
+ URL: @uref{ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/hello_world_c.tgz,,ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/hello_world_c.tgz}
@end example
@c
@@ -134,10 +131,12 @@ This section describes how to build RTEMS.
@subsection Using the RTEMS configure Script Directly
Make a build directory under tools and build the RTEMS product in this
-directory. The ../@value{RTEMSUNTAR}/configure
+directory. The @code{../@value{RTEMSUNTAR}/configure}
command has numerous command line
arguments. These arguments are discussed in detail in documentation that
-comes with the RTEMS distribution. If you followed the procedure
+comes with the RTEMS distribution. A full list of these arguments can be
+obtained by running @code{../@value{RTEMSUNTAR}/configure --help}
+If you followed the procedure
described in the section @ref{Unarchive the RTEMS Source}, these
configuration options can be found in the file
tools/@value{RTEMSUNTAR}/README.configure.
@@ -155,7 +154,7 @@ the @code{BOARD_SUPPORT_PACKAGE} board.
mkdir build-rtems
cd build-rtems
../@value{RTEMSUNTAR}/configure --target=<TARGET_CONFIGURATION> \
- --disable-posix --disable-tcpip --disable-cxx \
+ --disable-posix --disable-networking --disable-cxx \
--enable-rtemsbsp=<BOARD_SUPPORT_PACKAGE>\
--prefix=<INSTALL_POINT>
make all install
@@ -166,7 +165,7 @@ Where the list of currently supported <TARGET_CONFIGURATION>'s and
tools/@value{RTEMSUNTAR}/README.configure.
<INSTALL_POINT> is typically the installation point for the
-tools and is @code{/opt/rtems} when using prebuilt toolset executables.
+tools and defaults to @code{@value{RTEMSPREFIX}}.
BSP is a supported BSP for the selected CPU family. The list of
supported BSPs may be found in the file
@@ -177,4 +176,3 @@ then all supported BSPs for the selected CPU family will be built.
@b{NOTE:} The POSIX API must be enabled to use GNAT/RTEMS.
@b{NOTE:} The @code{make} utility used should be GNU make.
-
diff --git a/doc/started/intro.t b/doc/started/intro.t
index 1ba5e0438e..aa75388bfb 100644
--- a/doc/started/intro.t
+++ b/doc/started/intro.t
@@ -157,14 +157,14 @@ the GNU manuals:
@subsection RTEMS Mailing List
-@uref{mailto:rtems-users@@rtems.com,rtems-users@@rtems.com}
+@uref{mailto:@value{RTEMSUSERS},@value{RTEMSUSERS}}
This mailing list is dedicated to the discussion of issues related
to RTEMS, including GNAT/RTEMS. If you have questions about RTEMS,
wish to make suggestions, or just want to pick up hints, this is a
good list to monitor. Subscribe by sending an empty mail message to
-@uref{mailto:rtems-users-subscribe@@rtems.com,rtems-users-subscribe@@rtems.com}. Messages sent
-to @uref{mailto:rtems-users@@rtems.com,rtems-users@@rtems.com}
+@uref{mailto:@value{RTEMSUSERSSUBSCRIBE},@value{RTEMSUSERSSUBSCRIBE}}.
+Messages sent to @uref{mailto:@value{RTEMSUSERS},@value{RTEMSUSERS}}
are posted to the list.
@subsection CrossGCC Mailing List
diff --git a/doc/started/nextstep.t b/doc/started/nextstep.t
index 5d13f0f109..c8cf5e24aa 100644
--- a/doc/started/nextstep.t
+++ b/doc/started/nextstep.t
@@ -66,7 +66,7 @@ C Math Library functionality provided by Newlib's libm.
@end itemize
Finally, the RTEMS FAQ and mailing list archives are available
-at @uref{http://www.oarcorp.com}.
+at @uref{@value{RTEMSHTTPURL}}.
There is a wealth of documentation available for RTEMS and
the GNU tools supporting it. If you run into something
@@ -75,10 +75,11 @@ that is not clear or missing, bring it to our attention.
Also, some of the RTEMS documentation is still under
construction. If you would like to contribute to this
effort, please contact the RTEMS Team at
-@uref{mailto:rtems-users@@rtems.com, rtems-users@@rtems.com}.
+@uref{mailto:@value{RTEMSUSERS}, @value{RTEMSUSERS}}.
If you are interested in sponsoring the development of a new
feature, BSP, device driver, port of an existing library, etc.,
-please contact @uref{mailto:sales@@OARcorp.com, sales@@OARcorp.com}.
+please contact one of the RTEMS Service Providers listed
+at @uref{@value{RTEMSHTTPURL}/support.html,@value{RTEMSHTTPURL}/support.html}.
@section Writing an Application
diff --git a/doc/started/nt.t b/doc/started/nt.t
index c2561df41d..24cc0663a0 100644
--- a/doc/started/nt.t
+++ b/doc/started/nt.t
@@ -270,7 +270,7 @@ Apply the appropriate RTEMS specific patch as detailed in
@ref{Applying RTEMS Patches}.
@item In the @code{/build/binutils} directory, execute the following
-command to configure @value{BINUTILSVERSION}:
+command to configure binutils @value{BINUTILSVERSION}:
@example
/source/@value{BINUTILSUNTAR}/configure \
diff --git a/doc/started/started.texi b/doc/started/started.texi
index 702d4e3e70..334cd1a75a 100644
--- a/doc/started/started.texi
+++ b/doc/started/started.texi
@@ -21,6 +21,7 @@
@include version.texi
@include common/setup.texi
+@include common/rtems.texi
@c
@c Now set all the tool version dependent information
diff --git a/doc/started/tversions.texi.in b/doc/started/tversions.texi.in
new file mode 100644
index 0000000000..df297d1f1d
--- /dev/null
+++ b/doc/started/tversions.texi.in
@@ -0,0 +1,91 @@
+@c
+@c COPYRIGHT (c) 1988-2002.
+@c On-Line Applications Research Corporation (OAR).
+@c All rights reserved.
+@c
+@c $Id$
+@c
+
+@c
+@c This file contains all toolset version dependent information
+@c
+
+@c
+@c Comment out setting the "XYZ-RTEMSPATCH" variable if there is no
+@c patch required. The documentation will detect this and print
+@c an appropriate message in a short section.
+@c
+
+
+@c
+@c GCC Version
+@c
+
+@set GCCVERSION @GCCVERSION@
+@set GCCUNTAR gcc-@value{GCCVERSION}
+@set GCCTAR @value{GCCUNTAR}.tar.bz2
+@set GCCFTPSITE ftp.gnu.org
+@set GCCFTPDIR /pub/gnu/gcc/@value{GCCUNTAR}
+@set GCCHTTPDIR /pub/gcc/releases/index.html
+@SETGCCPATCHVERSION@
+@ifset GCCPATCHVERSION
+@set GCCRTEMSPATCH @value{GCCUNTAR}-rtems-@value{GCCPATCHVERSION}.diff
+@end ifset
+@set GCCRPMRELEASE @GCCRPMRELEASE@
+
+@c
+@c BINUTILS Version
+@c
+
+@c The "official" binutils
+@set BINUTILSVERSION @BINUTILSVERSION@
+@set BINUTILSUNTAR binutils-@value{BINUTILSVERSION}
+@set BINUTILSTAR @value{BINUTILSUNTAR}.tar.gz
+@set BINUTILSFTPSITE ftp.gnu.org
+@set BINUTILSFTPDIR /pub/gnu/binutils
+@SETBINUTILSPATCHVERSION@
+@ifset BINUTILSPATCHVERSION
+@set BINUTILSRTEMSPATCH @value{BINUTILSUNTAR}-rtems-@value{BINUTILSPATCHVERSION}.diff
+@end ifset
+@set BINUTILSRPMRELEASE @BINUTILSRPMRELEASE@
+
+@c
+@c NEWLIB Version
+@c
+
+
+@set NEWLIBVERSION @NEWLIBVERSION@
+@set NEWLIBUNTAR newlib-@value{NEWLIBVERSION}
+@set NEWLIBTAR @value{NEWLIBUNTAR}.tar.gz
+@set NEWLIBFTPSITE sources.redhat.com
+@set NEWLIBFTPDIR /pub/newlib
+@SETNEWLIBPATCHVERSION@
+@ifset NEWLIBPATCHVERSION
+@set NEWLIBRTEMSPATCH @value{NEWLIBUNTAR}-rtems-@value{NEWLIBPATCHVERSION}.diff
+@end ifset
+
+@c
+@c GDB Version
+@c
+
+@set GDBVERSION @GDBVERSION@
+@set GDBUNTAR gdb-@value{GDBVERSION}
+@set GDBTAR @value{GDBUNTAR}.tar.gz
+@set GDBFTPSITE ftp.gnu.org
+@set GDBFTPDIR /pub/gnu/gdb
+@SETGDBPATCHVERSION@
+@ifset GDBPATCHVERSION
+@set GDBRTEMSPATCH @value{GDBUNTAR}-rtems-@value{GDBPATCHVERSION}.diff
+@end ifset
+@set GDBRPMRELEASE @GDBRPMRELEASE@
+@set GDBFTPURL ftp://@value{GDBFTPSITE}@value{GDBFTPDIR}/@value{GDBTAR}
+
+@c
+@c RTEMS Version
+@c
+
+@set RTEMSVERSION RTEMS @value{VERSION}
+@set RTEMSUNTAR rtems-@value{VERSION}
+@set RTEMSTAR @value{RTEMSUNTAR}.tar.bz2
+@set RTEMSFTPSITE ftp.rtems.com
+@set RTEMSFTPDIR /pub/rtems/releases/@value{VERSION}