This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH]: bump minimum MPFR version, (includes some fortran bits)
- From: "David Edelsohn" <dje dot gcc at gmail dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: "Geoff Keating" <geoffk at geoffk dot org>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, angela at releasedominatrix dot com
- Date: Sun, 26 Oct 2008 20:29:51 -0400
- Subject: Re: [PATCH]: bump minimum MPFR version, (includes some fortran bits)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xM7igP7E3qwb6yehgy/u6Mfz0t7dSZmje98X69u9lEI=; b=e28KvSyxrnnqzqL6rIuf842u1I7z1j5rb54oEjQ2V5KeRLdqDYVLRr7qsk7MIRdPKZ 4dJElasF5hp+I/LDis3dBuSExycfWbifZopByriu0zj+ACWTygGO8uZtX84AXClzhSCH J76qZKaPunGZ6ZDAwtiO7JvMLLBDA46cZq530=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pNhHqkdAd/w97wo6exfu8qW//uyjPgPYkpQpQcofOXnnj/FJq2irQyl7IBgeC4iUAF vpAR7vmx7+dNXlf4g1WSsKF3V5LxAamC48mRU9ebcBVmD9aC11kV1v9rU8MQslPmjzEy 7jMXxdYLOwzCq+/Tq/5HvQmNJ5MvmzEEPgxAI=
- References: <Pine.GSO.4.58.0810042125450.1560@caipclassic.rutgers.edu> <m2abcr95de.fsf@geoffk.org> <D405E8815E5B4F47B285C1DA2ACD4791@glap>
On Sun, Oct 26, 2008 at 3:25 PM, Kaveh R. Ghazi <ghazi@caip.rutgers.edu> wrote:
> I think the steps you (or your assistant) went through was unfortunately
> unnecessarily complicated. The solution I use is to build MPFR and/or GMP
> using --disable-shared. Then you can install them anywhere you like, pass
> the location with --with-{mpfr,gmp} to GCC and since only the static library
> is available everything links and runs fine.
>
> Do you think putting this recommendation in the docs somewhere would have
> been useful to you in this situation? If so, I would be happy to prepare a
> patch.
Graphite's CLooG and PPL libraries use libgmpxx. Because cc1 is not linked
by g++, this effectively requires that libgmpxx must be a shared
library. libgmp
does not have to be a shared library, but it makes things simpler. MPFR is
a static library in my current configuration.
I configure using --with-mpfr=
David