source: rtems/doc/relnotes/install.texi @ ae68ff0

4.104.114.84.95
Last change on this file since ae68ff0 was ae68ff0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/27/97 at 12:40:11

Initial revision

  • Property mode set to 100644
File size: 6.3 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1996.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6
7@ifinfo
8@node Installation Procedure, Installation Procedure Introduction, Introduction Documentation, Top
9@end ifinfo
10@chapter Installation Procedure
11@ifinfo
12@menu
13* Installation Procedure Introduction::
14* Installation Procedure RTEMS FTP Site Organization::
15* Installation Procedure Unarchiving the RTEMS and GNU Components::
16* Installation Procedure Installing a Cross-Development GNU Toolset::
17* Installation Procedure Installing RTEMS::
18@end menu
19@end ifinfo
20
21@ifinfo
22@node Installation Procedure Introduction, Installation Procedure RTEMS FTP Site Organization, Installation Procedure, Installation Procedure
23@end ifinfo
24@section Introduction
25
26This chapter describes the process of installing and
27configuring RTEMS and a cross-development environment based on
28freely available tools and libraries.
29
30@ifinfo
31@node Installation Procedure RTEMS FTP Site Organization, Installation Procedure Unarchiving the RTEMS and GNU Components, Installation Procedure Introduction, Installation Procedure
32@end ifinfo
33@section RTEMS FTP Site Organization
34
35RTEMS is distributed only via anonymous ftp.
36
37This section will discuss how to navigate the RTEMS
38ftp site and unarchive the files in the RTEMS and GNU package
39distributions.  All example commands will be given in a shell
40independent fashion unless otherwise noted.
41
42Throughout the rest of this manual
43<RTEMS_distribution> will be used as the parent of components
44within the RTEMS distribution.  For persons using the ftp
45distribution found on the primary ftp site for RTEMS,
46<RTEMS_distribution> is
47ftp://ftp.OARcorp.com/oarcorp/rtems/@value{RTEMS-RELEASE}.
48
49The archive files for RTEMS Release @value{RTEMS-RELEASE} are found
50under the directory <RTEMS_distribution>.  This directory
51contains the files which comprise this relase as well as any
52patches which may be required for other tools.
53
54The complete source code and documentation set for
55the C language implementation of RTEMS is provided.
56
57Documentation other than this on-line version is available to
58OAR support customers.  Please contact OAR for more information.
59
60@ifinfo
61@node Installation Procedure Unarchiving the RTEMS and GNU Components, Installation Procedure Installing a Cross-Development GNU Toolset, Installation Procedure RTEMS FTP Site Organization, Installation Procedure
62@end ifinfo
63@section Unarchiving the RTEMS and GNU Components
64
65Many of the components of the RTEMS release are
66"tarred, zipped" files and have the .tar.gz or .tgz extension.
67The GNU zip package is required to unarchives these files on the
68RTEMS ftp site.  If this package is not installed, the source
69can be found in the files
70ftp://prep.ai.mit.edu/pub/gnu/gzip-1.2.4.shar or
71ftp://prep.ai.mit.edu/pub/gnu/gzip-1.2.4.tar.  It may be
72restored using a command similar to the following:
73
74@example
75@group
76tar xvf gzip-1.2.4.tar
77
78OR
79
80sh gzip-1.2.4.shar
81@end group
82@end example
83
84This will create a subdirectory gzip-1.2.4 in the
85current directory.  Please examine the files README and INSTALL
86and follow the instructions provided there.
87
88[Note: The GNU tools follow a standard packaging procedure
89They will unarchive into a directory based on the package name and version
90number.  For detailed instructions on compilation and
91installation of the GNU tools, please refer to the instructions for
92each GNU tool.]
93
94Files which have been "tarred, zipped" (i.e.  .tar.gz
95or .tgz extension) may be unarchived with a command similar to
96one of the following:
97
98@example
99@group
100gzcat <file>.tgz | tar xvof -
101
102OR
103
104gunzip -c <file>.tgz | tar xvof -
105
106OR
107
108gtar xzvf <file>.tgz
109@end group
110@end example
111
112NOTE: gunzip -c is equivalent to gzcat, while gtar is GNU tar.
113
114Given that the necessary utility programs are
115installed, any of the above commands will extract the contents
116of <file>.tar.gz into the current directory.  All of the RTEMS
117components will be extracted into the subdirectory rtems-@value{RTEMS-RELEASE}.
118To view the contents of a component without restoring any files,
119use a command similar to the following:
120
121@example
122@group
123gzcat <file>.tgz | tar tvf -
124@end group
125@end example
126
127@ifinfo
128@node Installation Procedure Installing a Cross-Development GNU Toolset, Installation Procedure Installing RTEMS, Installation Procedure Unarchiving the RTEMS and GNU Components, Installation Procedure
129@end ifinfo
130@section Installing a Cross-Development GNU Toolset
131
132This sections describes how to build and install the
133FSF GNU tools for use as a cross-compilation system.  These
134tools are used by the RTEMS developers.  Every effort has been
135made to make these instructions accurate and complete.  However,
136it is recommended that the individual doing the installation
137read the appropriate installation notes for each of the tools in
138the cross toolset.  This will help insure that there are no
139special requirements for a particular host.
140
141If the host and target processors are the same, then
142it may be possible to use the host development tools.  An
143example of this scenario is using a SPARC based workstation
144to develop an RTEMS application for the SPARC processor.  Although
145the native toolset is useable in this scenario, it is ultimately
146more desirable to build a toolset specifically for the embedded environment.
147
148Instructions for building a cross environment using the GNU
149tools is provided in the crossgcc FAQ available from ftp.cygnus.com
150in /pub/embedded/crossgcc.  It is recommended that the user following
151these instructions.
152
153After the cross development toolset has been built
154and installed, it will be necessary to modify the environment of
155each RTEMS application developer to reflect at least the path of
156the newly installed cross development toolset.
157
158The documentation for the FSF GNU and Cygnus tools is
159formatted using TeX.  The RTEMS developers use TeX 3.14t3 to
160format the manuals for their own use.  This document does not
161contain instructions on the acquisition or installation of TeX
162and supporting tools.
163
164NOTE: For "UNIX" processors, the native compiler binary utilities
165should be used.
166
167@ifinfo
168@node Installation Procedure Installing RTEMS, Development Environment Status, Installation Procedure Installing a Cross-Development GNU Toolset, Installation Procedure
169@end ifinfo
170@section Installing RTEMS
171
172For instructions on building and installing RTEMS, please refer to
173the file README.configure in the source distribution.
174
Note: See TracBrowser for help on using the repository browser.