Dan Nicholson wrote:

> How is the adjusted binutils being found?  Is an adjusted binutils
> being installed?  If you're doing the DIY static ld to
> /tools/bin/ld-new with symlink /usr/bin/ld -> /tools/bin/ld-new, then
> it will not be used unless you have -B/usr/bin/.

Indeed. So the current setup stays until we have a better solution. What
about this?

1) Don't build a new ld in chapter 5 binutils-pass2

2) Use the startfile_prefix_spec sed

3) For binutils chapter 6 (which comes right after the adjusted
toolchain), build it with:
'LDFLAGS="-L/lib -L/usr/lib" ../binutils-build/configure' and
build/install it. This will add a binutils that is linked using the old
linker but against the new Glibc.

4) When it's GCC's turn to build, it links using the new linker and
against the new Glibc

If this doesn't work, there's another idea, but I'm going to test this
first.

--
JH
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to