Hi,
received the this error after re-adjusting the toolchain in chapter 6
and running sanity check.
root:~# mv -v /tools/bin/{ld,ld-old}
`/tools/bin/ld' -> `/tools/bin/ld-old'
root:~# mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
`/tools/i686-pc-linux-gnu/bin/ld' -> `/tools/i686-pc-linux-gnu/bin/ld-
old'
root:~# mv -v /tools/bin/{ld-new,ld}
mv: cannot stat `/tools/bin/ld-new': No such file or directory
root:~# ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld
create symbolic link `/tools/i686-pc-linux-gnu/bin/ld' to
`/tools/bin/ld'
root:~# gcc -dumpspecs | \
> perl -p -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
root:~# echo 'main(){}' > dummy.c
root:~# cc dummy.c -Wl,--verbose &> dummy.log
root:~# readelf -l a.out | grep ': /lib'
readelf: Error: 'a.out': No such file
The problem line from above appears to be - mv: cannot stat
`/tools/bin/ld-new': No such file or directory
Is this a problem with the binutils installation?
If so will I need to rebuild the toolchain of is there a fix which can
be applied?
many thanks
Bob
__________________________________________________
Tiscali Broadband only £7.99 a month for your first 3 months!
http://www.tiscali.co.uk/products/broadband/
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page