i am building LFS,my distribution is suse linux
now i am in chapter 5.7. Adjusting the Toolchain
http://www.linuxfromscratch.org/lfs/...adjusting.html
i got this error
lfs@mallika:/mnt/lfs/sources> mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld -old}
mv: cannot stat `/tools/i586-suse-linux/bin/ld': No such file or directory
but in my tools i had this
lfs@mallika:/mnt/lfs/tools> ls
bin etc i686-pc-linux-gnu include info lib libexec man sbin share
and my gcc dump machine is
lfs@mallika:/mnt/lfs/sources> gcc -dumpmachine
i586-suse-linux
so i had compiled like this is this correct
lfs@mallika:/mnt/lfs/sources> mv -v /tools/i686-pc-linux-gnu/bin/{ld,ld -old}
`/tools/i686-pc-linux-gnu/bin/ld' -> /tools/i686-pc-linux-gnu/bin/ld-old'
lfs@mallika:/mnt/lfs/tools> mv -v /tools/bin/{ld-new,ld}
`/tools/bin/ld-new' -> `/tools/bin/ld'
*******************************************************************
so i placed $(gcc -dumpmachine) with i686-pc-linux-gnu is tis correct becoz i tools i found i686-pc-linux-gnu
********************************************************************
lfs@mallika:/mnt/lfs/tools> ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld
create symbolic link `/tools/i586-suse-linux/bin/ld' to `/tools/bin/ld'
ln: creating symbolic link `/tools/i586-suse-linux/bin/ld' to `/tools/bin/ld': No such file or directory
here i also i got same error so i places i586-suse-linux with i686-pc-linux-gnu ,is this correct
lfs@mallika:/mnt/lfs/tools> ln -sv /tools/bin/ld /tools/i686-pc-linux-gnu/bin/ld
create symbolic link `/tools/i686-pc-linux-gnu/bin/ld' to `/tools/bin/ld'
can u help me wheather this procedure is correct
where i am wrong can u suggest me