Trying to install binutils-gdb

Nick Clifton nickc@redhat.com
Mon Jan 29 16:50:23 GMT 2024


Hi Maciej,

> $ ./configure --disable-gdb --disable-gdbserver --disable-libbacktrace \
>    --disable-libdecnumber --disable-readline --disable-sim
> 
> This is what I have been doing with my builds.
> 
>   I'll be happy to offer a patch if this turns out how we want to update
> binutils/README further,

I think that that would be a good idea, at least until your suggestion
below is implemented.

> however it seems to me that we probably want to
> have a pair of umbrella options, say `--disable-gdb-components' and
> `--disable-binutils-components', to let people choose more easily what
> project they want to build from a checkout without the need to dive into
> individual components and also possibly without having to keep track of
> what new components get added as they upgrade.  There'd be a slight
> maintenance burden for such options though.

To make things simpler, I think that it might be better to have users
'enable' the tool that they want.  ie:

   "configure --enable-gdb"        just configure gdb and friends
   "configure --enable-binutils"   just configures the binutils stuff

We might even make it so that if neither of these options are given then
configure prints: "configuring both GDB and BINUTILS, is this really what you want ?"
or something like that.

Cheers
   Nick






More information about the Gdb mailing list