我用LFS6.2的LiveCD按LFS6.2 的技术文档步骤做到到5.7调整工具链时有些不明的地方!请高手指点一下!
调整工具链时的命令如下:
mv -v /tools/bin/{ld,ld-old}
mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
mv -v /tools/bin/{ld-new,ld}
ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld
运行时的错误:
lfs:~$ mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
mv: cannot stat `/tools/i486-pc-linux-gnu/bin/ld': No such file or directory
fs:~$ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld
create symbolic link `/tools/i486-pc-linux-gnu/bin/ld' to `/tools/bin/ld'
ln: creating symbolic link `/tools/i486-pc-linux-gnu/bin/ld' to `/tools/bin/ld': No such file or directory
在这里我看了下/tools 目录是:
lfs:~$ ls /tools
bin etc i686-pc-linux-gnu include info lib libexec man sbin share
问题:我想是 没有所为的i486-pc-linux-gnu.目录,这是版本的 问题还是我 以前的 步骤有错误的地方啊?
我曾试过所有的$(gcc -dumpmachine) 换成 i686-pc-linux-gnu目录了.不对的话别取笑哦!
另外小弟是新手想结交一些朋友!我的 QQ :158863748 MSN:arong521@hotmail.com |