Building just gdbserver ?

Christian Biesinger cbiesinger@google.com
Fri Sep 11 08:45:30 GMT 2020


On Fri, Sep 11, 2020 at 10:29 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Thu, 10 Sep 2020 12:34:15 +0200
> Christian Biesinger <cbiesinger@google.com> wrote:
> > > Running the top-level configure script would be annoying, as it checks
> > > for ncurses, which would make ncurses a mandatory requirement to build
> > > gdbserver, which by itself doesn't need ncurses.
> >
> > I don't believe the toplevel configure script checks for ncurses...?
>
> Well, I had missed the --disable-gdb option, and so for me a top-level
> ./configure would always recurse into gdb/, and gdb/configure.ac does
> check for ncurses.

(technically it's make that recurses, not configure)

It's true that gdb's configure checks for ncurses but that should be
an optional dependency. Did you find that configure fails if ncurses
is not found?

Christian


More information about the Gdb mailing list