From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9610 invoked by alias); 26 Aug 2009 17:54:21 -0000 Received: (qmail 9601 invoked by uid 22791); 26 Aug 2009 17:54:20 -0000 X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout5.012.net.il (HELO mtaout5.012.net.il) (84.95.2.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Aug 2009 17:54:15 +0000 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KOZ00600W8YG600@i_mtaout5.012.net.il> for gdb-patches@sourceware.org; Wed, 26 Aug 2009 20:53:41 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.144.38]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KOZ009R8WDFRH51@i_mtaout5.012.net.il>; Wed, 26 Aug 2009 20:53:40 +0300 (IDT) Date: Wed, 26 Aug 2009 17:57:00 -0000 From: Eli Zaretskii Subject: Re: Update rebuild rules in non-automake directories. In-reply-to: <20090826173807.GA9074@gmx.de> To: Ralf Wildenhues Cc: jan.kratochvil@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83r5uycvh4.fsf@gnu.org> References: <20090628183334.GA5401@gmx.de> <20090728181748.GA3134@gmx.de> <20090826151719.GA22276@host0.dyn.jankratochvil.net> <20090826164636.GA15791@ins.uni-bonn.de> <20090826165410.GA28796@host0.dyn.jankratochvil.net> <20090826173807.GA9074@gmx.de> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00456.txt.bz2 > Date: Wed, 26 Aug 2009 19:38:07 +0200 > From: Ralf Wildenhues > Cc: gdb-patches@sourceware.org > > But I have a more general question first: > so far I was under the impression that GCC and all of src always only > builds outside the source directory (and consequently, I never tested > that for the autotools upgrade). Which parts of src can (could) be > built in-tree and for which parts is that usually done? I don't know about the other parts of src, but GDB always supported in-tree builds, even though we advise in README to do it outside the source tree: You can build GDB right in the source directory: cd gdb-6.3 ./configure make cp gdb/gdb /usr/local/bin/gdb (or wherever you want) However, we recommend that an empty directory be used instead. This way you do not clutter your source tree with binary files and will be able to create different builds with different configuration options.