From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21725 invoked by alias); 27 Oct 2008 00:30:35 -0000 Received: (qmail 21697 invoked by uid 22791); 27 Oct 2008 00:30:34 -0000 X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 27 Oct 2008 00:29:54 +0000 Received: by fg-out-1718.google.com with SMTP id e21so1804199fga.28 for ; Sun, 26 Oct 2008 17:29:51 -0700 (PDT) Received: by 10.86.94.11 with SMTP id r11mr2633814fgb.11.1225067391080; Sun, 26 Oct 2008 17:29:51 -0700 (PDT) Received: by 10.86.94.6 with HTTP; Sun, 26 Oct 2008 17:29:50 -0700 (PDT) Message-ID: <303e1d290810261729s2e651f8btc3d93d593e84aaa1@mail.gmail.com> Date: Mon, 27 Oct 2008 07:03:00 -0000 From: "David Edelsohn" To: "Kaveh R. Ghazi" Subject: Re: [PATCH]: bump minimum MPFR version, (includes some fortran bits) Cc: "Geoff Keating" , gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org, angela@releasedominatrix.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg01131.txt.bz2 On Sun, Oct 26, 2008 at 3:25 PM, Kaveh R. Ghazi 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