Between 6.9 and 6.10 Re-adjusting the toolchain

Dan Nicholson dbn.lists at gmail.com
Mon Oct 16 10:27:17 PDT 2006


On 10/16/06, contact at logarytm.com <contact at logarytm.com> wrote:
> 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.

It seems like you're probably using the host's gcc since I think the
one you built should say i686 unless you manually hacked it. Is
/tools/bin at the beginning of your PATH? What's the output from
/tools/bin/gcc -dumpmachine?

--
Dan



More information about the lfs-support mailing list