RTEMS Logo

RTEMS 4.6.0pre5 On-Line Library


Using the GDB configure Script Directly

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

4.2.4.2: Using the GDB configure Script Directly

This section describes how to configure the GNU debugger for RTEMS targets using configure and make directly. The following example illustrates the invocation of configure and make to build and install gdb-5.2 for the m68k-rtems target:

mkdir b-gdb
cd b-gdb
../gdb-5.2/configure --target=m68k-rtems \
  --prefix=/usr1/tmp/rtemsdocs-4.6.0pre5
make all
make info
make install

For some configurations, it is necessary to specify extra options to configure to enable and configure option components such as a processor simulator. The following is a list of configurations for which there are extra options:

i960-rtems
--enable-sim
powerpc-rtems
--enable-sim --enable-sim-powerpc --enable-sim-timebase --enable-sim-hardware
sparc-rtems
--enable-sim

After gdb-5.2 is built and installed the build directory b-gdb may be removed.

For more information on the invocation of configure, please refer to the documentation for gdb-5.2 or invoke the gdb-5.2 configure command with the --help option.


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

Copyright © 1988-2003 OAR Corporation