From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11556 invoked by alias); 8 Jun 2011 09:23:15 -0000 Received: (qmail 11548 invoked by uid 22791); 8 Jun 2011 09:23:14 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-px0-f176.google.com (HELO mail-px0-f176.google.com) (209.85.212.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Jun 2011 09:23:01 +0000 Received: by pxi11 with SMTP id 11so177334pxi.21 for ; Wed, 08 Jun 2011 02:23:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.151.41 with SMTP id y41mr246733wfd.94.1307524980840; Wed, 08 Jun 2011 02:23:00 -0700 (PDT) Received: by 10.143.168.18 with HTTP; Wed, 8 Jun 2011 02:23:00 -0700 (PDT) In-Reply-To: <4DEF3B2D.9060204@redhat.com> References: <000301cc22de$fac4b020$a9d3daad@YOUREDC1953E71> <000c01cc22e5$1559bec0$a9d3daad@YOUREDC1953E71> <4DED4983.4020608@wippies.com> <4DEF3B2D.9060204@redhat.com> Date: Wed, 08 Jun 2011 12:03:00 -0000 Message-ID: Subject: Re: gcc 4.6.0 From: Jonathan Wakely To: Andrew Haley Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2011-06/txt/msg00188.txt.bz2 On 8 June 2011 10:04, Andrew Haley wrote: > > This subject never seems to end. =A0Every month we go around it again. > I really don't understand why people go through so much pain for GMP. I think it's because they stop reading after the second sentence of "Necessary to build GCC. If you do not have it installed in your library search path, you will have to configure with the --with-gmp configure option. See also --with-gmp-lib and --with-gmp-include. Alternatively, if a GMP source distribution is found in a subdirectory of your GCC sources named gmp, it will be built together with GCC. " > If everyone just ran ./contrib/download_prerequisites first, the > problem would go away. =A0Maybe we need to revise the build instructions. Yes, I think there should be a very strong recommendation to put the prereq sources in the gcc tree (as download_prerequisites does) and that recommendation should appear before (or instead of) any mention of --with-gmp etc. so that people who just skim the docs won't find --with-gmp etc. If you know what you're doing and are prepared to spend more than 30 seconds R'ing TFM you'll find the --with-xxx options. There should also be big hint that for most Linux distros the prereqs are available via your usual package manager, which makes it a complete non-issue as everything is installed where ldconfig will find it. I'm sick of pointing people to the relevant FAQs several times a week and already started some improvements to the installation docs on Monday, I'll try to get that finished in the next day or two.