This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: newbie question: need arm9 native gdb; how to compile gdb sourcefor arm9?
Wolcott, Ken (MED, Compuware) wrote:
../gdb-6.0/configure \
--host=arm-arm9-linux-gnu \
--build=i686-unknown-linux-gnu \
--target=arm-arm9-linux-gnu
because I want a native arm9 gdb they can run on the board itself.
This failed due to:
***********************************************************************************************
arm-arm9-linux-gnu-ar rc libiberty.a \
regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o
concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o getopt.o
getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o lrealpath.o
make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o
physmem.o pex-unix.o safe-ctype.o sort.o spaces.o splay-tree.o strerror.o
strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o
xstrerror.o mkstemps.o
make[1]: arm-arm9-linux-gnu-ar: Command not found
make[1]: *** [libiberty.a] Error 127
make[1]: Leaving directory
`/tuba_local/gdb_6.0/build_arm9_gdb_6.0_try2/libiberty'
make: *** [all-libiberty] Error 2
***********************************************************************************************
I don't have an arm-arm9-linux-gnu-ar executeable as a result of running
crosstool :-(
What *do* you have as a result of running crosstool?
Can you do an 'ls' in the bin directory of the toolchain?
Sounds like maybe you just have a path set wrong...
In other words, don't panic, your toolchain is probably fine...
- Dan