This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] Check for gmp when checking for mpfr
Hi Tom,
On Sun, Sep 16, 2018 at 12:45:01PM -0600, Tom Tromey wrote:
> There was a report on irc that the gdb check for mpfr failed when only
> static libraries are available. The issue is that mpfr depends on
> gmp, but this is not handled explicitly by gdb.
>
> Ideally upstream would switch to pkg-config. Or even more ideally, we
> would incorporate pkg-config into the compiler and not mess with any
> of this.
>
> Meanwhile, this changes gdb's configure to add gmp to the link line
> when checking for mpfr.
>
> ChangeLog
> 2018-09-16 Tom Tromey <tom@tromey.com>
>
> * configure: Rebuild.
> * configure.ac: Use gmp as a library dependency when checking for
> mpfr.
Thanks for the patch. This looks good to me.
--
Joel