From: dony <dony.he@huawei.com.cn>
To: bsapp@lanl.gov, linuxppc-embed <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: cross-compile gdb questions...
Date: Tue, 25 Jan 2000 09:56:43 +0800 [thread overview]
Message-ID: <388D02DB.2357F917@huawei.com.cn> (raw)
In-Reply-To: 388C72C7.58A02642@nua.lampf.lanl.gov
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/
prev parent reply other threads:[~2000-01-25 1:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=388D02DB.2357F917@huawei.com.cn \
--to=dony.he@huawei.com.cn \
--cc=bsapp@lanl.gov \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).