source: rtems/doc/started/sample.t @ bdec2709

4.104.114.84.95
Last change on this file since bdec2709 was bdec2709, checked in by Joel Sherrill <joel.sherrill@…>, on 04/10/98 at 16:03:26

In texinfo nicely with all version dependent information
now in variables and some updates already in place.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1998.
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 ../arc/hello_world_c.tgz
18@end example
19
20@section Set the environment variable RTEMS_MAKEFILE_PATH
21
22It must point to the appropriate directory containing RTEMS build for our
23target and board support package combination.
24
25@example
26export RTEMS_MAKEFILE_PATH = \
27<INSTALLATION_POINT>/rtems/<BOARD_SUPPORT_PACKAGE>
28@end example
29
30Where:
31
32<INSTALLATION_POINT> and <BOARD_SUPPORT_PACKAGE> are those used when
33configuring and installing RTEMS.
34
35@section Build the Sample Application
36
37Use the following command to start the build of the sample application:
38
39@example
40cd tools/hello_world_c
41gmake
42@end example
43
44If no errors are detected during the sample application build, it is
45reasonable to assume that the build of the GNU C/C++ Cross Compiler Tools
46for RTEMS and RTEMS itself for the selected host and target
47combination was done properly.
48
49@section Application executable
50
51If the sample application has successfully been build, then the application
52executable is placed in the following directory:
53
54@example
55tools/simple_app/o-<BOARD_SUPPORT_PACKAGE>/<filename>.exe
56@end example
57
58How this executable is downloaded to the target board is very dependent
59on the BOARD_SUPPORT_PACKAGE selected.
Note: See TracBrowser for help on using the repository browser.