OAR

RTEMS 4.0.0 On-Line Library


Localizing the Configuration

PREV UP NEXT Bookshelf Getting Started with GNAT/RTEMS

3.11: Localizing the Configuration

Edit the user.cfg file to alter the settings of various variables which are used to tailor the build process. Each of the variables set in user.cfg may be modified as described below:

INSTALL_POINT
is the location where you wish the GNU C/C++ cross compilation tools for RTEMS to be built. It is recommended that the directory chosen to receive these tools be named so that it is clear from which egcs distribution it was generated and for which target system the tools are to produce code for.

WARNING: The INSTALL_POINT should not be a subdirectory under the build directory. The build directory will be removed automatically upon successful completion of the build procedure.

BINUTILS
is the directory under tools that contains binutils-2.9.1. For example:
BINUTILS=binutils-2.9.1
GCC
is the directory under tools that contains gcc-2.8.1. For example,
GCC=gcc-2.8.1

Note that the gnat version is not needed because the gnat source is built as part of building gcc.

NEWLIB
is the directory under tools that contains newlib-1.8.0. For example:
NEWLIB=newlib-1.8.0
BUILD_DOCS
is set to "yes" if you want to install documentation. For example:
BUILD_DOCS=yes
BUILD_OTHER_LANGUAGES
is set to "yes" if you want to build languages other than C and C++. At the current time, this enables Fortan and Objective-C. For example:
BUILD_OTHER_LANGUAGES=yes
RTEMS
is the directory under tools that contails rtems-4.0.0.
ENABLE_RTEMS_POSIX
is set to "yes" if you want to enable the RTEMS POSIX API support. At this time, this feature is not supported by the UNIX ports of RTEMS and is forced to "no" for those targets. This corresponds to the configure option --enable-posix.

This must be enabled to support the GNAT/RTEMS run-time.

ENABLE_RTEMS_TESTS
is set to "yes" if you want to build the RTEMS Test Suite. If this is set to "no", then only the Sample Tests will be built. This corresponds to the configure option --enable-tests.
ENABLE_RTEMS_TCPIP
is set to "yes" if you want to build the RTEMS TCP/IP Stack. If a particular BSP does not support TCP/IP, then this feature is automatically disabled. This corresponds to the configure option --enable-tcpip.
ENABLE_RTEMS_CXX
is set to "yes" if you want to build the RTEMS C++ support including the C++ Wrapper for the Classic API. This corresponds to the configure option --enable-cxx.


PREV UP NEXT Bookshelf Getting Started with GNAT/RTEMS

Copyright © 1988-1998 OAR Corporation