source: rtems/doc/started_ada/sample.t @ bb4b574

4.104.114.84.95
Last change on this file since bb4b574 was bb4b574, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 25, 2000 at 1:15:14 PM

Merged changes from 4.5 branch and removed that branch.

  • Property mode set to 100644
File size: 1.6 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 Building the Sample Application
10
11@section Unpack the Sample Application
12
13Use the following command to unarchive the sample application:
14
15@example
16cd tools
17tar xzf ../archive/hello_world_ada.tgz
18@end example
19
20@section Create a BSP Specific Makefile
21
22Provided are example Makefiles for multiple BSPs.  Copy one of these to
23the file Makefile.<BOARD_SUPPORT_PACKAGE> and edit it as appropriate for
24your local configuration.
25
26Use the  <INSTALLATION_POINT> and <BOARD_SUPPORT_PACKAGE> specified when
27configuring and installing RTEMS.
28
29@section Build the Sample Application
30
31Use the following command to start the build of the sample application:
32
33@example
34cd tools/hello_world_ada
35make -f Makefile.<BOARD_SUPPORT_PACKAGE>
36@end example
37
38NOTE: GNU make is the preferred @code{make} utility.  Other @code{make}
39implementations may work but all testing is done with GNU make.
40
41If the BSP specific modifications to the Makefile were correct and
42no errors are detected during the sample application build, it is
43reasonable to assume that the build of the GNAT/RTEMS Cross Compiler Tools
44for RTEMS and RTEMS itself for the selected host and target
45combination was done properly.
46
47@section Application Executable
48
49If the sample application has successfully been build, then the application
50executable is placed in the following directory:
51
52@example
53tools/hello_world_ada/o-optimize/<filename>.exe
54@end example
55
56How this executable is downloaded to the target board is very dependent
57on the BOARD_SUPPORT_PACKAGE selected.
Note: See TracBrowser for help on using the repository browser.