Between 6.9 and 6.10 Re-adjusting the toolchain

contact at logarytm.com contact at logarytm.com
Mon Oct 16 09:55:17 PDT 2006


I kinda messed up after trying the first part in 6.10. Re-adjusting the
toolchain.

w00t:/LFS# ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld
create symbolic link `/tools/i486-linux/bin/ld' to `/tools/bin/ld'
ln: creating symbolic link `/tools/i486-linux/bin/ld' to `/tools/bin/ld':
No such file or directory
w00t:/LFS# ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld
create symbolic link `/tools/i486-linux/bin/ld' to `/tools/bin/ld'
ln: creating symbolic link `/tools/i486-linux/bin/ld' to `/tools/bin/ld':
No such file or directory

Since I didnt have the i486-linux I changed the $(gcc -dumpmachine) to
i686-linux which I have, but in this process I accidently cp -v over the
ld in /tools/bin/ld and /tools/i686-linux/bin/ld.

the toolchain obviously doesnt work:
w00t:/LFS# grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
SEARCH_DIR("/usr/i386-linux/lib")
SEARCH_DIR("/usr/local/lib")
SEARCH_DIR("/lib")
SEARCH_DIR("/usr/lib");

Where do I go from here? Sorry for my lack of experience.
Thanks in advance,

~djr



More information about the lfs-support mailing list