This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Updating Autoconf and Automake versions used in GCC and src
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- Cc: gcc at gcc dot gnu dot org, binutils at sourceware dot org, gdb at sourceware dot org
- Date: Sun, 28 Jun 2009 11:59:36 +0000 (UTC)
- Subject: Re: Updating Autoconf and Automake versions used in GCC and src
- References: <20090628072452.GC16677@gmx.de>
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.
<http://www.eglibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/libc/EGLIBC.cross-building?rev=2037>
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