This is the mail archive of the 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]



I don't think I'm being stupid (but then again ... ;-)
I'm trying to compile gdb 5.0 for the arm-elf target.  Following the
standard rules I'm doing the following...

unpack gdb-5.0.tar.gz
make a parallel directory called build-gdb
in build-gdb do...

../gdb-5.0/configure --prefix=/export/usr --target=arm-elf
make install

and everything is hunky dory.

However,  if I change the prefix to


the build barfs with the following error...

make[1]: Entering directory `/export/sources/build-gdb/mmalloc'
-I../../gdb-cvs/mmalloc/../include ../../gdb-cvs/mmalloc/mm.c
rm -rf libmmalloc.a
ar rc libmmalloc.a mm.o
ranlib libmmalloc.a
make[1]: Leaving directory `/export/sources/build-gdb/mmalloc'
make[1]: Entering directory `/export/sources/build-gdb/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H   -I. -I../../gdb-cvs/readline
-I/home/share/tools/arm-elf/include -DRL_LIBRARY_VERSION='"4.0"' -g -O2
../../gdb-cvs/readline/readline.c:234: parse error before
../../gdb-cvs/readline/readline.c:234: warning: data definition has no
type or storage class
make[1]: *** [readline.o] Error 1
make[1]: Leaving directory `/export/sources/build-gdb/readline'
make: *** [all-readline] Error 2

The target directory is an nfs share, but this shouldn't break things
should it?  Everything else (i.e. binutils, gcc and newlib worked).

Does anyone here know if I can install everything with a prefix that
works and then simply move the directories to another location or is gdb
like gcc in that it will only function in the directory it was installed

Cheers guys and gals,


Dan Alderman                Software Engineer OneEighty Software Ltd.

OneEighty Software Ltd.     Phone: +44 20 8263 2333
The Lansdowne Building      Fax: +44 20 8263 6314
2 Lansdowne Road
Croydon                     Email:

Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act One Eighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act.

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