gdbserver build

Fabrice Gautier
2001-05-01T14:45:00Z

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.