Cross compiling gdb-5.1.1 for ppc405
felix at allot.com
Tue Apr 23 01:31:02 EST 2002
I've found the problem: I was running configure like this:
configure --prefix=/usr --host=i386-unknown-linux
It should really be:
configure --prefix=/usr powerpc-unknown-linux
Felix Radensky wrote:
> I've managed to cross-compile gdb-5.1.1 for 405GP using
> Monta Vista HHL 2.0 toolchain. Gdb runs, I can load the executable
> and set breakpoints. However, when i try to run the program from gdb,
> I get the following message:
> Starting program: /tmp/hello
> Don't know how to run. Try "help target".
> The same program runs fine in gdb-5.0 from Monta Vista
> HHL 2.0.
> Any ideas ?
> Thanks a lot.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded