From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 836 invoked by alias); 21 Jan 2012 17:48:24 -0000 Received: (qmail 828 invoked by uid 22791); 21 Jan 2012 17:48:23 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail1-relais-roc.national.inria.fr (HELO mail1-relais-roc.national.inria.fr) (192.134.164.82) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 21 Jan 2012 17:48:10 +0000 Received: from afontenayssb-151-1-15-43.w82-121.abo.wanadoo.fr (HELO laptop-mg.local) ([82.121.221.43]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Jan 2012 18:48:08 +0100 Date: Sat, 21 Jan 2012 18:28:00 -0000 From: Marc Glisse Reply-To: gcc-help To: Paul Smith cc: gcc-help Subject: Re: aix cross(?)compiler In-Reply-To: <1327167095.4539.9.camel@homebase> Message-ID: References: <1327167095.4539.9.camel@homebase> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 8BIT Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-01/txt/msg00118.txt.bz2 On Sat, 21 Jan 2012, Paul Smith wrote: > On Wed, 2011-12-14 at 09:45 +0000, Jonathan Wakely wrote: >> 2011/12/14 Jêdrzej Dudkiewicz: >>> >>> 1) Am I building everything the right way, >> >> The process is much simpler if you let GCC build the GMP, MPFR and MPC >> libs, instead of installing them separately. See >> http://advogato.org/person/redi/diary/253.html > > Unfortunately this method is broken, at least in GCC 4.6.2. It advises to use ./contrib/download_prerequisites, which doesn't download the latest versions of gmp/mpfr/mpc but versions that are known to work. > I filed a bug (with patch): > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51935 Dup of 50461. A good patch would detect the appropriate path depending on the version of mpfr. If we were to require mpfr-3.1+ for in-tree builds, at least download_prerequisites and the documentation should be updated. -- Marc Glisse