4.104.114.84.95
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 | |
---|
13 | Use the following command to unarchive the sample application: |
---|
14 | |
---|
15 | @example |
---|
16 | cd tools |
---|
17 | tar xzf ../arc/simple_app.tgz |
---|
18 | @end example |
---|
19 | |
---|
20 | @section Set the environment variable RTEMS_MAKEFILE_PATH |
---|
21 | |
---|
22 | It must point to the appropriate directory containing RTEMS build for our |
---|
23 | target and board support package combination. |
---|
24 | |
---|
25 | @example |
---|
26 | export RTEMS_MAKEFILE_PATH = \ |
---|
27 | <INSTALLATION_POINT>/rtems/<BOARD_SUPPORT_PACKAGE> |
---|
28 | @end example |
---|
29 | |
---|
30 | Where: |
---|
31 | |
---|
32 | <INSTALLATION_POINT> and <BOARD_SUPPORT_PACKAGE> are those used in step 4.3 |
---|
33 | |
---|
34 | @section Build the Sample Application |
---|
35 | |
---|
36 | Use the following command to start the build of the sample application: |
---|
37 | |
---|
38 | @example |
---|
39 | cd tools/simple_app |
---|
40 | gmake |
---|
41 | @end example |
---|
42 | |
---|
43 | If no errors are detected during the sample application build, it is |
---|
44 | reasonable to assume that the build of the GNU C/C++ Cross Compiler Tools |
---|
45 | for RTEMS and the build of the RTEMS OS for the selected host and target |
---|
46 | combination was done properly. |
---|
47 | |
---|
48 | @section Application executable |
---|
49 | |
---|
50 | If the application build has taken place without error, the application |
---|
51 | executable is placed in the following directory: |
---|
52 | |
---|
53 | @example |
---|
54 | tools/simple_app/o-<BOARD_SUPPORT_PACKAGE>/<filename>.exe |
---|
55 | @end example |
---|
56 | |
---|
Note: See
TracBrowser
for help on using the repository browser.