Re: Building just gdbserver ?

Christian Biesinger via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAPTJ0XGYEU=P2vGU_ZnTre=+BVdKjRS-8p0mnV2-nXBai+2Q6g@mail.gmail.com>
On Thu, Sep 10, 2020 at 11:53 AM Thomas Petazzoni
<[email protected]> wrote:
> Prior to the move of gdb/gdbserver/ to the top-level
> (919adfe8409211c726c1d05b47ca59890ee648f1), and its use of the common
> gnulib (1a627e7e6c61e97951932e3a9c5fb706efe3ef3e), it was possible to
> build just gdbserver by doing:
>
>  $ cd gdb/gdbserver/
>  $ ./configure
>
> This is a feature that was used by the Buildroot build system when we
> only needed to build gdbserver and not the full gdb.
>
> What is now the recommended way to build just gdbserver ?

See the "Building" section in
https://github.com/bminor/binutils-gdb/blob/master/gdbserver/README

> 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...?

Christian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.