Re: GdbServer cross compile
Stan Shebs <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <CA+5-Q5JNJsYEYVCxFprqBmDP8hT1VdccdBXwRYNA_0Vadw053g@mail.gmail.com> |
On Wed, May 20, 2015 at 11:36 AM, Uladzimir Kryvian <[email protected]> wrote: > Hello! > I want compile gdb server for AmigaOS. It uses m68k processor. > I've compiled "https://github.com/cahirwpz/m68k-amigaos-toolchain" and > want to use it in gdbserver compilation. > But I don't know how to do that? > > Can you help me with cross-compiling gdbserver for it? This is going to be disappointing I'm afraid - gdbserver is not a general-purpose stub. It expects to call a variety of OS system facilities to do its process control and such, and there is no AmigaOS port. Existing ports are Linux, Neutrino, and Win32; the Win32 port might be the simplest starting point for a port, but to finish will need some in-depth understanding of the Exec kernel and its API/ABI. Stan