From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21881 invoked by alias); 4 Jun 2011 17:49:44 -0000 Received: (qmail 21873 invoked by uid 22791); 4 Jun 2011 17:49:44 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BJ X-Spam-Check-By: sourceware.org Received: from mailout-de.gmx.net (HELO mailout-de.gmx.net) (213.165.64.23) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sat, 04 Jun 2011 17:49:24 +0000 Received: (qmail invoked by alias); 04 Jun 2011 17:49:23 -0000 Received: from LN-mac29.grenoble.cnrs.fr (EHLO axel) [147.173.67.29] by mail.gmx.net (mp031) with SMTP; 04 Jun 2011 19:49:23 +0200 Date: Sat, 04 Jun 2011 17:49:00 -0000 From: Axel Freyn To: Bill Cunningham Cc: gcc-help@gcc.gnu.org Subject: Re: gcc 4.6.0 Message-ID: <20110604174921.GZ19127@axel> Mail-Followup-To: Bill Cunningham , gcc-help@gcc.gnu.org References: <000301cc22de$fac4b020$a9d3daad@YOUREDC1953E71> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000301cc22de$fac4b020$a9d3daad@YOUREDC1953E71> User-Agent: Mutt/1.5.18 (2008-05-17) 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/msg00087.txt.bz2 On Sat, Jun 04, 2011 at 01:43:56PM -0400, Bill Cunningham wrote: > The compilation I just did of gcc 4.6.0 seems to have worked. I did > two things differently. I used a build directory outside of the source > directory. And secondly I compiled with c++ support. I used the > --enable-languages=c,c++ switch also. > > I would rather have compiled without the c++ support. I don't use c++ > much and it took a very long time to compile. Does anyone know which two > of these things may have really made the difference? Hi Bill, as documented on http://gcc.gnu.org/install/configure.html it's a bad idea to use a build directory inside the source tree: "First, we highly recommend that GCC be built into a separate directory from the sources which does not reside within the source tree. This is how we generally build GCC; building where srcdir == objdir should still work, but doesn't get extensive testing; building where objdir is a subdirectory of srcdir is unsupported. " So probably that made the difference... Axel