This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Dynamically linking against GMP and MPFR
- From: Daniel Jacobowitz <drow at false dot org>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: ghazi at caip dot rutgers dot edu, gcc at gcc dot gnu dot org
- Date: Fri, 25 May 2007 10:20:07 -0400
- Subject: Re: Dynamically linking against GMP and MPFR
- References: <m3sl9lat9s.fsf@localhost.localdomain>
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.
--
Daniel Jacobowitz
CodeSourcery