linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* cross-compile gdb questions...
@ 2000-01-24  3:35 dony
       [not found] ` <388C72C7.58A02642@nua.lampf.lanl.gov>
  0 siblings, 1 reply; 2+ messages in thread
From: dony @ 2000-01-24  3:35 UTC (permalink / raw)
  To: linuxppc-embed, Dan Malek


Hi, all

       Does anyone have successfully cross-compiled gdb so that we can
get a cross-debug tool "powerpc-linux-gdb"? I need these to communicate
with gdbserver posted by Dan.
      Thanks very much
      dony


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cross-compile gdb questions...
       [not found] ` <388C72C7.58A02642@nua.lampf.lanl.gov>
@ 2000-01-25  1:56   ` dony
  0 siblings, 0 replies; 2+ messages in thread
From: dony @ 2000-01-25  1:56 UTC (permalink / raw)
  To: bsapp, linuxppc-embed


Hi, Ben:
      I have tried this before but failed. When I run "make" , it shows
many warnings and "undefined reference to ..." errors.
     So how do you solve it?
     Thanks very much.
     dony

Ben Sapp wrote:

> Hello dony,
>
> To get powerpc-linux-gdb running go to ftp://prep.ai.mit.edu/gnu/gdb
> directory and download the latest version.(gdb-4.18.tar.gz)   Unpack it
> with the following commands:
>
> gunzip -c gdb-4.18.tar.gz | tar -xvf -
>
> This will make a directory called gdb-4.18  cd into that directory.
> Then, run the following command:
>
> ./configure --target=powerpc-linux
>
> You can add any options to configure as is appropriate.   To find out
> all the options read the install file and run
>
> ./configure --help
>
> Once you have done this simply run
>
> make ; make install
>
> Then you will have powerpc-linux-gdb installed on your intel box.
>
> --
> Ben Sapp                         Los Alamos National Laboratory
> email: <mailto:bsapp@lanl.gov>   Phone: (505)667-3277
> Fax:   (505)665-7920             URL:   http://www.neutrino.lanl.gov/
> --


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-01-25  1:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-24  3:35 cross-compile gdb questions dony
     [not found] ` <388C72C7.58A02642@nua.lampf.lanl.gov>
2000-01-25  1:56   ` dony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).