OAR

RTEMS 4.0.0 On-Line Library


Localizing the Configuration

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

3.9: 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 egcs-1.1b. For example,
GCC=egcs-1.1b
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

NOTE: Based upon the version of the compiler being used, it may not be possible to build languages other than C and C++ cross. In many cases, the language run-time support libraries are not "multilib'ed". Thus the executable code in these libraries will be for the default compiler settings and not necessarily be correct for your CPU model.

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.
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 RTEMS for C/C++ Users

Copyright © 1988-1998 OAR Corporation