Getting Started with GNAT/RTEMS
Create a build directory for the SIS Debugger
cd tools mkdir build-ppc
Configure the GNU Debugger for the PowerPC Instruction Simulator (PSIM):
cd tools/build-ppc ../gdb-4.17/configure \ --target=powerpc-unknown-eabi \ --program-prefix=powerpc-rtems- \ --enable-sim-powerpc \ --enable-sim-timebase \ --enable-sim-inline \ --enable-sim-hardware \ --enable-targets=all \ --prefix=<INSTALL_POINT_FOR_PPC>
Where <INSTALL_POINT_FOR_PPC> is a unique location where the gdb with PSIM will be created.
From tools/build-ppc execute the following command sequence:
make all install
NOTE: The make
utility used should be GNU make.
Getting Started with GNAT/RTEMS
Copyright © 1988-2004 OAR Corporation