Dan Nicholson wrote:

> I'm looking at it.  This has the DIY changes.  I thought you said you
> were going back to the *startfile_prefix_spec way like CLFS?

Yes, I will be. The changes:

1) Use the CLFS style sed for the specs file, ie,

gcc -dumpspecs | \
perl -pi -e 's@/tools/lib/ld-linux-so.2@/lib/[EMAIL PROTECTED];' \
     -e '[EMAIL PROTECTED]:[EMAIL PROTECTED]/usr/lib/ @g;' > \
     `dirname $(gcc --print-libgcc-file-name)`/specs

As Ryan has said, "that tels it were to look for the required
startfiles, ie crti.o crtn.o
they sit were the c-libraries are
and will always make gcc point to where the c-libraries are even when
multilib
it automatically adds it in as -L/${startfile_prefix_spec} or
L/${startfile_prefix_spec}/../lib64"

2) Because the startfile_prefix_spec is used, no -B is necessary for gcc
and the wrapper can be dropped entirely.

3) The changes to binutils stay.

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

Reply via email to