> mkdir build > cd build > ../configure --target=powerpc-ssrl-rtems
Compile by typing make (gnumake) and install manually:
> make > install -s gdb/gdb <target-dir>/powerpc-rtems-gdb
If you want to install everything including documentation you might need more elaborate configure options to get the install locations and the executable name right.
Note that if you do use those packages then you must make sure that your application executes the respective initialization routines (bspExtInit() and cexpInit(), respectively; consult the header files for any arguments and/or return value).
If you try to build rtems-gdb-stub independently from ssrlApps, an additional step is required because the agent needs a private header file, cexpmodP.h, from Cexp (only if Cexp support is to be used) that is not installed with the Cexp package: Edit the Makefile and point the CEXP_SOURCE_PATH variable to the correct location.