This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
how to cross-compile gdb for arm?
- From: "yang xiaoli" <alula418 at hotmail dot com>
- To: gdb at sourceware dot org
- Date: Mon, 28 Nov 2005 08:51:03 +0000
- Subject: how to cross-compile gdb for arm?
- Bcc:
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