Jeremy Huntwork <jhuntwork <at> linuxfromscratch.org> writes:
> 2) The commands to adjust the gcc spec file would have to change to 
> incorporate either dynamic linker. (Also, the current command in chapter 
> 5's adjusting the toolchain, "gcc -dumpspecs | sed 
> 's <at> ^/lib/ld-linux.so.2 <at> /tools& <at> g' \", assumes that we will find
the name 
> of the dynamic linker at the beginning of the line. In x86_64, this 
> isn't the case.

I think that at least the chapter6/readjusting phase could be made a little
simpler. On the x86_64 arch this command:

gcc -dumpspecs | sed \
    -e 's@/tools/lib64/ld-linux-x86-64.so.2@/lib64/[EMAIL PROTECTED]' \

can easily become:

gcc -dumpspecs | sed -e 's@/tools@@g' \

I can't test this on x86 right atm... would anyone be able to verify that this
command would also work for x86?

--
JH

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

Reply via email to