hello
I am wondering where is the book located in the lfslivecd?
i am at the stage 5.7 where I must adjust the toolchain. and the command
Code:
SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs &&
gcc -dumpspecs > $SPECFILE &&
sed 's@^/lib/ld-linux.so.2@/tools&@g' $SPECFILE > tempspecfile &&
mv -vf tempspecfile $SPECFILE &&
unset SPECFILE
is really causing me trouble. the book says I have to copy and paste. I am reading the book on my laptop running debian, I am building the lfs in another computer with the live cd as host. i do not know how to copy/paste the commands I always get errors in the sed part. the last one says : unterminated 's' command.
if i get the book on the cd, maybe i can figure out how to copy and paste the command. or how could I enable ssh so i can copy from the laptop to the computer where I am bulding.
thank you
Mario