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