This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA/RFC: Adding support for gmp and mpfr sources in the build tree
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>, Nick Clifton <nickc at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 2 Dec 2006 10:01:48 -0800
- Subject: Re: RFA/RFC: Adding support for gmp and mpfr sources in the build tree
- References: <m34pstjdk9.fsf@redhat.com> <4562D6E7.4090808@lu.unisi.ch> <456AAC92.70008@redhat.com> <456ABE48.4090204@lu.unisi.ch> <Pine.GSO.4.58.0612012236470.27152@caipclassic.rutgers.edu> <4571BB42.8040707@lu.unisi.ch>
On Sat, Dec 02, 2006 at 06:43:30PM +0100, Paolo Bonzini wrote:
>
> > That brings up a second issue, which is I think there should be a way
> > to say --{enable,disable}-{shared,static}-{gmp,mpfr} to the top level
> > configure, and this should pass the appropriate
> > --{enable,disable}-{shared,static} into the gmp and/or mpfr subdirs.
>
> I agree with everything but this. There is already too much feature
> creeping in the toplevel. If there is consensus that an in-tree gmp and
> mpfr should be static and not installed, it's easy to make it so.
I believe gmp and mpfr should be always linked statically and not
installed. Making them shared or installed is asking for more trouble.
H.J.