So where is someone supposed to go to actually get sh-elf-gdb? Is there a source it should be built from? Is there an official repository? Is there some provider of prebuilt binaries that I just don't know about?
EDIT: Looking around the internet on some old compiler page, it seems you can build SH-ELF-GDB from the gdb source itself? I found the following commands:
Code: Select all
/home/linus> cd build/gdb
/home/linus/build/gdb> ../../gdb-6.6/configure --target=sh-elf --prefix=/home/linus/sh1
/home/linus/build/gdb> make
/home/linus/build/gdb> make install
then build with the appropriate --target=sh-elf flag?
Anyone done this before? Is this generally correct?