Going through the book I received my first problem here at 6.10 with the following:
Code:
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
The third command produced:
Code:
mv: cannot stat '/tools/bin/ld-new': No such file or directory
So I thought I could just mkdir /tools/bin/ld-new and try it again but no luck.
Now the sanity check compilation of dummy.c is failing because it can't find ld.
Not sure how to fix this, any advice appreciated.