source: rtems/doc/started_ada/buildrt.t @ 8e8676da

4.104.114.84.95
Last change on this file since 8e8676da was 8e8676da, checked in by Joel Sherrill <joel.sherrill@…>, on 04/11/98 at 13:55:14

Base line -- copied from C/C++

  • Property mode set to 100644
File size: 2.1 KB
Line 
1@c
2@c
3@c  COPYRIGHT (c) 1988-1998.
4@c  On-Line Applications Research Corporation (OAR).
5@c  All rights reserved.
6@c
7@c  $Id$
8@c
9
10@chapter Building RTEMS
11
12@section Unpack the RTEMS source
13
14Use the following command sequence to unpack the RTEMS source into the
15tools directory:
16
17@example
18cd tools
19tar xzf ../arc/@value{RTEMS-TAR}
20@end example
21
22@section Add the bin directory under the install point to the default PATH
23
24In order to compile RTEMS, you must have the cross compilation toolset
25in your search patch.  The following command appends the directory
26where the tools were installed in the previous chapter:
27
28@example
29export PATH=$PATH:<INSTALL_POINT>/bin
30@end example
31
32NOTE:  The above command is in Bourne shell (@code{sh}) syntax and should work with
33the Korn (@code{ksh}) and GNU Bourne Again Shell (@code{bash}).  It will not
34work with the C Shell (@code{csh})or derivatives of the C Shell.
35
36@section Generate RTEMS for a specific target and board support package
37
38Make a build directory under tools and build the RTEMS product in this
39directory. The ../@value{RTEMS-UNTAR}/configure
40command has numerous command line
41arguments. These arguments are discussed in detail in documentation that
42comes with the RTEMS distribution. In the installation described in the
43section "Unpack the RTEMS source", these configuration options can be found
44in file tools/@value{RTEMS-UNTAR}/README.configure.
45
46The following shows the command sequence required to configure,
47compile, and install RTEMS with the POSIX API, KA9Q TCP/IP,
48and C++ support disabled.  RTEMS will be built to target
49the @code{BOARD_SUPPORT_PACKAGE} board.
50
51@example
52mkdir build-rtems
53cd build-rtems
54../@value{RTEMS-UNTAR}/configure --target=<TARGET_CONFIGURATION> \
55    --disable-posix --disable-ka9q --disable-cxx \
56    --enable-rtemsbsp=<BOARD_SUPPORT_PACKAGE>\
57    --prefix=<INSTALL_POINT>
58gmake all install
59@end example
60
61Where:
62
63The list of currently supported of <TARGET_CONFIGURATION>'s and
64<BOARD_SUPPORT_PACKAGE>'s can be found in
65tools/@value{RTEMS-UNTAR}/README.configure.
66
67<INSTALL_POINT> is the installation point from the previous step
68"Modify the bit script" in the build of the tools.
69
70
Note: See TracBrowser for help on using the repository browser.