This is the mail archive of the gdb@sources.redhat.com 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]

gdbserver build


Hi,

I'm trying to build gdbserver from gdb 5.0 source(exactly: from debian
source package)

I'm following more or less the indication in the README file in the
gdbserver directory.

First I tried:

gdb-5.0/gdb/gdbserver $ ../../configure host=i386-pc-linux-gnu

This fail with the error : i386-pc: unknown machine type

Then, sticking to README instructions: 

gdb-5.0/gdb/gdbserver $ ../../configure i386-pc-linux-gnu

This works well, but then i do:

gdb-5.0/gdb/gdbserver $ make CC=gcc 

and this fails with:

In file included from server.h:21,
                 from utils.c:21:
../defs.h:26: config.h: No such file or directory
In file included from server.h:21,
                 from utils.c:21:
../defs.h:69: bfd.h: No such file or directory
[etc]

Any comments?

Thanks.

-- 
Fabrice Gautier <gautier@email.enstfr>


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