[PATCHv2] Use toplevel configure for GMP and MPFR for gdb

Clément Chigot chigot@adacore.com
Tue Jan 3 10:52:36 GMT 2023


Hi guys,

Since this patch, binutils without mpfr and gmp is unable to build
when gdb is disabled (with configure option --disable-gdb). But
AFAICT, these libraries are not required if gdb isn't there.
Moreover, the following error looks wrong to me when gdb is explicitly
requested not to be built.
  | configure: error: Building GDB requires GMP 4.2+, and MPFR 3.1.0+.
  | Try the --with-gmp and/or --with-mpfr options to specify

Thus, I'm wondering if there are any plans to also use gmp and mpfr in
binutils without gdb (adding Nick for that) ? In this case, we would
want to change the error message.
Or is this patch only meant for gdb and should be adjusted for --disable-gdb ?

Thanks,
Clément


More information about the Binutils mailing list