Trying to install binutils-gdb
Nick Clifton
nickc@redhat.com
Wed Sep 27 14:42:51 GMT 2023
Hi Jacob,
> I downloaded the new version of binutils.
> To my surprise, it doesn’t work any more, failing with a message that I should get the GMP package.
This is really a documentation issue. I assume that you
were following the instructions in the binutils/README file
on how to unpack and install the binutils ? I am thinking
of changing that section of the file to read like this:
-------------------------------------------------------------
[...]
To build binutils you will need a C99 compliant compiler and library.
You can just do:
cd binutils-XXX
./configure [various options, see below]
make
make install # copies the programs files into /usr/local/bin
# by default.
This will configure and build all the libraries as well as the
assembler, the binutils, and the linker.
If you only want to build the binutils and not GDB as well then
you can add a configure option to disable GDB. This may help
reduce the need for extra libraries to be installed. ie:
./configure --disable-gdb
Since the configure script can be quite verbose, you may also
like to add the --quiet option to reduce the amount of output. ie:
./configure --quiet
If you have GNU make, we recommend building in a different directory:
[...]
---------------------------------------------------------------------------
Would this help ?
Cheers
Nick
More information about the Binutils
mailing list