unable to compile gdb 6.0 as a cross gdb; error: cannot run test program while cross compiling

Wolcott, Ken (MED, Compuware) Ken.Wolcott@med.ge.com
Tue Oct 28 03:13:00 GMT 2003


Hi;

  I used Dan Kegel's crosstool version 0.24 (http://www.kegel.com/crosstool/) 
to create an arm9 cross tool chain.  I'm now trying to create an arm9 native 
gdb.

  One of the developers I'm trying to support says that he gets the error 
msg"GDB can't read core files on this machine".  So he wants an arm9 native 
gdb rather than aarm9 crossgdb.

  I have downloaded the gdb 6.0 source, expanded it, created a sibling 
directory for my gdb build, executed configure and make using the attached 
compile.sh script from the gdb build directory I created.  The captured 
output is also attached as kaw_make.log.  There is mention of config.log, so 
I attached it as well.

  All I need is a gdb that can read an arm9 corefile.  Whether that is a cross 
gdb (host: i686-pc-linux, target: arm-arm9-linux) or an arm9 native gdb, it 
doesn't matter.

Thanks,
Ken

-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile.sh
Type: application/x-shellscript
Size: 1146 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20031028/05d57438/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kaw_make.log
Type: text/x-log
Size: 99533 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20031028/05d57438/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 1192 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20031028/05d57438/attachment-0002.bin>


More information about the Gcc mailing list