Cross compiling gdb-5.1.1 for ppc405

Felix Radensky felix at allot.com
Tue Apr 23 01:31:02 EST 2002


Hi,

I've found the problem: I was running configure like this:
   configure --prefix=/usr --host=i386-unknown-linux
--target=powerpc-unknown-linux

It should really be:
   configure --prefix=/usr powerpc-unknown-linux

Felix.

Felix Radensky wrote:

>
> Hi,
>
> 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.
>
> Felix.
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list