From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32053 invoked by alias); 28 Jun 2009 11:59:46 -0000 Received: (qmail 32030 invoked by uid 22791); 28 Jun 2009 11:59:45 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,URIBL_RHS_DOB X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 28 Jun 2009 11:59:40 +0000 Received: (qmail 8451 invoked from network); 28 Jun 2009 11:59:38 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Jun 2009 11:59:38 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.69) (envelope-from ) id 1MKt2m-0005oU-IJ; Sun, 28 Jun 2009 11:59:36 +0000 Date: Sun, 28 Jun 2009 11:59:00 -0000 From: "Joseph S. Myers" To: Ralf Wildenhues cc: gcc@gcc.gnu.org, binutils@sourceware.org, gdb@sourceware.org Subject: Re: Updating Autoconf and Automake versions used in GCC and src In-Reply-To: <20090628072452.GC16677@gmx.de> Message-ID: References: <20090628072452.GC16677@gmx.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00271.txt.bz2 On Sun, 28 Jun 2009, Ralf Wildenhues wrote: > I haven't tried the --with-build-sysroot build; can somebody point out > to me what I need to do for an effective test of this? I'm pretty sure > that updating Autoconf and Automake only will not impact this feature, > though, but I'll confirm before the switch. describes a procedure for bootstrapping a cross toolchain to a GNU/Linux target. To test with --with-build-sysroot you should install the sysroot somewhere other than the configured --with-sysroot value, which then requires passing --with-build-sysroot when configuring GCC and LDFLAGS_FOR_TARGET and CPPFLAGS_FOR_TARGET (with the appropriate --sysroot options) to make when building GCC. A typical use case would involve a relocatable toolchain and sysroot directory: configured --prefix=/some/where --with-sysroot=/some/where/sysroot but installed with "make install prefix=/other/location". In this case --with-build-time-tools may also be needed when configuring GCC because binutils also will not be in the configured location. -- Joseph S. Myers joseph@codesourcery.com