This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how to cross-compile gdb for arm?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]