Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "yang xiaoli" <alula418@hotmail.com>
To: gdb@sourceware.org
Subject: how to cross-compile gdb for arm?
Date: Mon, 28 Nov 2005 08:58:00 -0000	[thread overview]
Message-ID: <BAY109-F134874B254EA1DF4238B5887480@phx.gbl> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 738 bytes --]

I'll corss-compile gdb for arm board, will use gdb to debug on arm board.
I use gdb6.0 or gdb6.3 and configure with:
CC=arm-linux-gcc ../gdb-6.3/configure --target=arm-linux \
--build=arm-linux --host=arm-linux

and has error when make:
checking whether make sets $(MAKE)... (cached) yes
checking for arm-linux-gcc ...(cached) arm-linux-gcc
checking for c Compiler default output in a.out
checking whether the c compiler makes in
configure:error: cannot run c compiled programs

if you meant to cross compile usr "--host"
see 'config.log' for more details

I don't know how to do with it ,something wrong?

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer:   http://explorer.msn.com/lccn  


             reply	other threads:[~2005-11-28  8:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-28  8:58 yang xiaoli [this message]
2005-11-28  9:57 ` Neo Jia
2005-11-28 22:01 ` Jim Blandy
2005-11-29  3:24   ` yang xiaoli

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=BAY109-F134874B254EA1DF4238B5887480@phx.gbl \
    --to=alula418@hotmail.com \
    --cc=gdb@sourceware.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