From: Daniel Jacobowitz <drow@false.org>
To: Tim Harvey <tim_harvey@yahoo.com>
Cc: Anil Gunturu <anil_gunturu@yahoo.com>, gdb@sources.redhat.com
Subject: Re: howto build gdb / gdbserver for x86 host with arm-linux target?
Date: Fri, 11 Feb 2005 05:30:00 -0000 [thread overview]
Message-ID: <20050211042809.GA31483@nevyn.them.org> (raw)
In-Reply-To: <20050211040403.71623.qmail@web30510.mail.mud.yahoo.com>
On Thu, Feb 10, 2005 at 08:04:03PM -0800, Tim Harvey wrote:
>
> --- Anil Gunturu <anil_gunturu@yahoo.com> wrote:
>
> > You don't need symbols on the target when running gdbserver. So it's ok to
> > strip the symbols.
>
> right, I realize that the exe on the target can be stripped, but a non-stripped
> version will need to exist on the host and I assume it can't hurt to have the
> target version non stripped as well right?
>
> > You need to export the arm-gcc before running ./configure. For example:
> > export CC=${arm-compiler-path}/arm-gcc
> > configure --target=arm-linux.
> > -Anil
>
> Ah, so basically autoconf doesn't handle cross compiling and you always need to
> specify the compiler manually.
You're getting confused. Don't specify CC to build GDB. Do specify --target,
however. The error you got was from using an i386 targeted gdb with an
ARM stub.
Do specify --host and CC to build gdbserver, but it sounds like you
already have gdbserver.
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-02-11 4:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050211024733.30134.qmail@web30706.mail.mud.yahoo.com>
2005-02-11 4:28 ` Tim Harvey
2005-02-11 5:30 ` Daniel Jacobowitz [this message]
2005-02-11 14:10 ` Tim Harvey
2005-02-11 15:45 ` Daniel Jacobowitz
2005-02-11 18:37 ` Tim Harvey
2005-02-12 2:53 ` Daniel Jacobowitz
2005-02-11 4:04 Tim Harvey
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=20050211042809.GA31483@nevyn.them.org \
--to=drow@false.org \
--cc=anil_gunturu@yahoo.com \
--cc=gdb@sources.redhat.com \
--cc=tim_harvey@yahoo.com \
/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