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-6.5 for the
m68k-rtems4.7 target:
mkdir b-gdb cd b-gdb ../gdb-6.5/configure --target=m68k-rtems4.7 \ --prefix=/home/joel/rtems-4.7-work/rtems/rtemsdocs-4.7.1 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:
--enable-sim --enable-sim-powerpc --enable-sim-timebase --enable-sim-hardware
--enable-sim
After gdb-6.5 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-6.5 or
invoke the gdb-6.5 configure
command with the
--help
option.
Copyright © 1988-2004 OAR Corporation