source: rtems/doc/started/sample.t @ 417fcc73

4.104.114.84.95
Last change on this file since 417fcc73 was 417fcc73, checked in by Joel Sherrill <joel.sherrill@…>, on 04/09/98 at 19:18:04

base version

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[417fcc73]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/simple_app.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 in step 4.3
33
34@section Build the Sample Application
35
36Use the following command to start the build of the sample application:
37
38@example
39cd tools/simple_app
40gmake
41@end example
42
43If no errors are detected during the sample application build, it is
44reasonable to assume that the build of the GNU C/C++ Cross Compiler Tools
45for RTEMS and the build of the RTEMS OS for the selected host and target
46combination was done properly.
47
48@section Application executable
49
50If the application build has taken place without error, the application
51executable is placed in the following directory:
52
53@example
54tools/simple_app/o-<BOARD_SUPPORT_PACKAGE>/<filename>.exe
55@end example
56
Note: See TracBrowser for help on using the repository browser.