From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13477 invoked by alias); 7 Jun 2012 00:00:50 -0000 Received: (qmail 13469 invoked by uid 22791); 7 Jun 2012 00:00:49 -0000 X-SWARE-Spam-Status: No, hits=-5.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BJ X-Spam-Check-By: sourceware.org Received: from mail-lpp01m010-f47.google.com (HELO mail-lpp01m010-f47.google.com) (209.85.215.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Jun 2012 00:00:37 +0000 Received: by lags15 with SMTP id s15so19909lag.20 for ; Wed, 06 Jun 2012 17:00:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.123.244 with SMTP id md20mr121780lab.0.1339027235555; Wed, 06 Jun 2012 17:00:35 -0700 (PDT) Received: by 10.112.48.6 with HTTP; Wed, 6 Jun 2012 17:00:35 -0700 (PDT) In-Reply-To: <4FCFE90F.6040605@cowlark.com> References: <4FCF2AA1.2000406@cowlark.com> <4FCFE90F.6040605@cowlark.com> Date: Thu, 07 Jun 2012 00:00:00 -0000 Message-ID: Subject: Re: Building and Installing gcc-4.7.0 on Ubuntu 12.04 From: Jonathan Wakely To: David Given Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 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: 2012-06/txt/msg00057.txt.bz2 On 7 June 2012 00:34, David Given wrote: > > Sure, but the build documentation still says that it should work. Given > that srcdir == objdir is the standard usage pattern for configure > scripts, I don't think anyone will be surprised that people will try it. > > This turns out not to have been the OP's problem anyway, but given the > wiki page you pointed them at does state clearly that srcdir == objdir > isn't supported, as does the FAQ entry, it would be nice if the actual > build documentation said it too... The wiki pages are not authoritative. One key advantage of building outside the source directory (i.e. not using ./configure) is that when you screw it up (and the people who need those docs do screw it up, in ever more innovative ways) you can delete the entire objdir and start again, nothing will foul up the srcdir if you don't build in there.