Dynamically linking against GMP and MPFR

Richard Guenther richard.guenther@gmail.com
Fri May 25 14:31:00 GMT 2007


On 5/25/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Fri, May 25, 2007 at 07:10:23AM -0700, Ian Lance Taylor wrote:
> > We need a configure time option to link statically against GMP and
> > MPFR even if dynamic versions of the libraries are available.
> >
> > I would argue that static linking should be the default, since that is
> > the least surprising option.  People who understand the issues can
> > enable dynamic linking.  But I'm willing to be overruled on this
> > point.
>
> It's no different than any other library used by any other program.
> I wouldn't object to configure support to request static gmp/mpfr for
> developer convenience, but GCC is a perfectly normal dynamically
> linked program and should behave like one IMO.

I agree.  I wouldn't expect to have to update gcc just because mpfr had
a bugfix.

Richard.



More information about the Gcc mailing list