powerpc-linux assembler, GDB "dont know how to run"

quchen@infinito.it quchen@infinito.it
Tue Apr 20 07:54:00 GMT 2004


Dear Ben,

Really thank you very much for your correct direction. The 
simulator works very well.

Chen

On 20 Apr 2004 11:14:48 +1000
  Ben Elliston <bje@au.ibm.com> wrote:
><quchen@infinito.it> writes:
>
>> First, assemble with $ppc-as -o hello-ppc.o hello-ppc.s
>> then, link it with $ppc-ld -o hello-ppc hello-ppc.o
>> 
>> Then, $ppc-gdb hello-ppc <return>
>> "The GDB was configured as "--host=i686-pc-linux-gnu
>> --target=powerpc-linux"
>> (gdb)run <return>
>> Don't know how to run. Try "help target"
>
>This is really a GDB question and should be directed to 
>their mailing
>list.  However, the output from GDB above shows that 
>you're in a cross
>environment: i686 to powerpc.  You can't run the program 
>natively, of
>course.  Try loading the program into the built-in 
>simulator instead:
>
>  (gdb) target sim
>  (gdb) load
>  (gdb) continue
>
>Cheers, Ben
>

_______________________________________
Connessione ed e-mail gratuita da 10 mb
consultabile tramite web e tramite pop.
www.infinito.it vieni a scoprire tutti 
i nostri servizi!

http://www.infinito.it/xmail





More information about the Binutils mailing list