[Bug bootstrap/35804] Bootstrap of combined gcc + binutils, with --enable-shared, with sysroot fails
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Apr 2 17:53:00 GMT 2008
------- Comment #3 from joseph at codesourcery dot com 2008-04-02 17:52 -------
Subject: Re: Bootstrap of combined gcc + binutils, with
--enable-shared, with sysroot fails
On Wed, 2 Apr 2008, pinskia at gcc dot gnu dot org wrote:
> Sounds like you should be using --build-sysroot= and not set LDFLAGS_FOR_TARGET
> and CPPFLAGS_FOR_TARGET .
My experience is that you do need to set LDFLAGS_FOR_TARGET and
CPPFLAGS_FOR_TARGET to include the --sysroot option if you're configuring
with a build sysroot. (This is a bug: --with-build-sysroot should cause
the right --sysroot option to be used automatically when compiling and
linking runtime libraries.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35804
More information about the Gcc-bugs
mailing list