LFS chapter 5 adjusting the tool chain
Hello,
I'm having a problem in chapter 5 "adjusting the toolchain",
The LFS I'm using is 5.1.1(stable) and my host is Slackware 10.
When amending the GCC specs file with,
SPECFILE=/tools/lib/gcc-lib/*/*/specs &&
sed -e 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \
$SPECFILE > tempspecfile &&
mv -f tempspecfile $SPECFILE &&
unset SPECFILE
The output is,
bash tempspecfile: permission denied
I have cut and pasted it and typed it in and the output is the same in either case,also I have traced my steps up to that point several times.
Is something from the host finding it's way in?....if so how can I correct this.
Thanks
|