OAR

RTEMS 4.0.0 On-Line Library


Using the RTEMS configure Script Directly

PREV UP NEXT Bookshelf Getting Started with RTEMS for C/C++ Users

4.4.2: Using the RTEMS configure Script Directly

Make a build directory under tools and build the RTEMS product in this directory. The ../rtems-4.0.0/configure command has numerous command line arguments. These arguments are discussed in detail in documentation that comes with the RTEMS distribution. In the installation described in the section "Unpack the RTEMS source", these configuration options can be found in the file tools/rtems-4.0.0/README.configure.

The following shows the command sequence required to configure, compile, and install RTEMS with the POSIX API, FreeBSD TCP/IP, and C++ support disabled. RTEMS will be built to target the BOARD_SUPPORT_PACKAGE board.

mkdir build-rtems
cd build-rtems
../rtems-4.0.0/configure --target=<TARGET_CONFIGURATION> \
    --disable-posix --disable-tcpip --disable-cxx \
    --enable-rtemsbsp=<BOARD_SUPPORT_PACKAGE>\
    --prefix=<INSTALL_POINT>
gmake all install

Where the list of currently supported of <TARGET_CONFIGURATION>'s and <BOARD_SUPPORT_PACKAGE>'s can be found in tools/rtems-4.0.0/README.configure.

<INSTALL_POINT> is the installation point from the previous step "Modify the bit script" in the build of the tools.


PREV UP NEXT Bookshelf Getting Started with RTEMS for C/C++ Users

Copyright © 1988-1998 OAR Corporation