------- 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