From 34ffa996302ff44dd323c957abc17a6443cdedf4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 27 Sep 2004 22:28:16 +0000 Subject: 2004-09-27 Joel Sherrill PR 681/doc PR 682/doc * buildc.t, buildrt.t, sample.t: Fix PATH and tar examples. Enable binutils link again. * user/overview.t: Chapter numbering in preface was wrong. --- doc/started/buildc.t | 5 +++-- doc/started/buildrt.t | 13 ++++++------- doc/started/sample.t | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/started') diff --git a/doc/started/buildc.t b/doc/started/buildc.t index b4f9f808f2..8c23d49d9c 100644 --- a/doc/started/buildc.t +++ b/doc/started/buildc.t @@ -498,11 +498,12 @@ invoke the @value{BINUTILSUNTAR} @code{configure} command with the @code{--help} option. NOTE: The shell PATH variable needs to be updated to include the path -the binutils has been installed in. This the prefix used above with +the binutils user executables have been installed in. The directory +containing the executables is the prefix used above with @file{bin} post-fixed. @example -export PATH=$PATH:@value{RTEMSPREFIX}/bin +export PATH=@value{RTEMSPREFIX}/bin:${PATH} @end example Failure to have the binutils in the path will cause the GCC and NEWLIB diff --git a/doc/started/buildrt.t b/doc/started/buildrt.t index 91ff840161..93df0db738 100644 --- a/doc/started/buildrt.t +++ b/doc/started/buildrt.t @@ -20,10 +20,7 @@ placed in your @code{archive} directory. FTP Site: @value{RTEMSFTPSITE} Directory: @value{RTEMSFTPDIR}/@value{VERSION} File: @value{RTEMSTAR} -@ifset use-html -@c URL: @uref{ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/@value{VERSION}, Download RTEMS components} - URL: ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/@value{VERSION} -@end ifset + URL: @uref{ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/@value{VERSION}/@value{RTEMSTAR},,ftp://@value{RTEMSFTPSITE}@value{RTEMSFTPDIR}/@value{VERSION}/@value{RTEMSTAR}} @end example @subheading RTEMS Examples including Hello World @@ -54,11 +51,13 @@ This creates the directory @value{RTEMSUNTAR}. @section Add /bin to Executable PATH In order to compile RTEMS, you must have the cross compilation toolset -in your search path. The following command appends the directory -where the tools were installed prior to this point: +in your search path. It is important to have the RTEMS toolset first +in your path to ensure that you are using the intended version of all +tools. The following command prepends the directory +where the tools were installed in a previous step: @example -export PATH=$PATH:/bin +export PATH=/bin:${PATH} @end example NOTE: The above command is in Bourne shell (@code{sh}) syntax and diff --git a/doc/started/sample.t b/doc/started/sample.t index 4d34e9f709..caf6a2e6aa 100644 --- a/doc/started/sample.t +++ b/doc/started/sample.t @@ -210,7 +210,7 @@ applications: @example cd tools -tar xzf ../archive/hello_world_ada.tgz +tar xjf ../archive/ada-examples-@value{VERSION}.tar.bz2 @end example @subheading Create a BSP Specific Makefile -- cgit v1.2.3