source: rtems/doc/started/binaries.t @ 874f9ed2

4.104.114.84.95
Last change on this file since 874f9ed2 was d0a4cad, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/00 at 19:05:00

Added information on the location where the tools are installed.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1999.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6@c  $Id$
7@c
8
9@chapter Prebuilt Toolset Executables
10
11Precompiled toolsets are available for Linux and Cygwin.  These are
12packaged using the RedHat Package Manager (RPM).  RPM is the
13native package installer for many Linux distributions including
14RedHat and SUSE.  RPM supports other operating systems including
15Cygwin.  David Fiddes <D.J@@fiddes.surfaid.org> has graciously
16build Cygwin RPMs for a number of popular target CPU families.
17
18RPMs are very easy to install and the instructions are the same
19regardless of the host environment.  There are a few structural
20issues with the packaging of the RTEMS Cross Toolset RPMs
21that you need to be aware of.
22
23@enumerate
24@item There are dependencies between the various packages.
25This requires that certain packages be installed before others may be.
26
27@item Some packages are target CPU family indepedent and shared
28across all target architectures.   These are referred to as
29"base" packages.
30
31@item If buildable for a particular CPU, RPMs are provided for
32Chill, Java (gjc), Fortran (g77), and Objective-C (objc).  These
33RPMs are strictly optional.
34
35@end enumerate
36
37@section Installing RPMs
38
39The following is a sample session illustrating the installation
40of a C/C++ toolset targeting the SPARC architecture. 
41
42@example
43rpm -i rtems-base-binutils-2.9.5.0.24-1.i386.rpm
44rpm -i sparc-rtems-binutils-2.9.5.0.24-1.i386.rpm
45rpm -i rtems-base-gcc-gcc2.95.2newlib1.8.2-4.i386.rpm
46rpm -i sparc-rtems-gcc-gcc2.95.2newlib1.8.2-4.i386.rpm
47rpm -i rtems-base-gdb-4.18-2.i386.rpm
48rpm -i sparc-rtems-gdb-4.18-2.i386.rpm
49@end example
50
51Upon successful completion of the above command sequence, a
52C/C++ cross development toolset targetting the SPARC is
53installed in @code{/opt/rtems}.  In order to use this toolset,
54the directory @code{/opt/rtems/bin} must be included in your
55PATH.
56
57NOTE: This process does not install RTEMS itself, only the tools
58required to build RTEMS.  See @ref{Building RTEMS} for the next
59step in the process.
60
61@section Removing RPMs
62
63The following is a sample session illustrating the removal
64of a C/C++ toolset targeting the SPARC architecture.
65
66@example
67rpm -e sparc-rtems-gdb-4.18-2.i386.rpm
68rpm -e rtems-base-gdb-4.18-2.i386.rpm
69rpm -e sparc-rtems-gcc-gcc2.95.2newlib1.8.2-4.i386.rpm
70rpm -e rtems-base-gcc-gcc2.95.2newlib1.8.2-4.i386.rpm
71rpm -e sparc-rtems-binutils-2.9.5.0.24-1.i386.rpm
72rpm -e rtems-base-binutils-2.9.5.0.24-1.i386.rpm
73@end example
74
Note: See TracBrowser for help on using the repository browser.