Denis Silin wrote:
Hello!

There is a problem with actions from ch. 5.7 Adjusting the Toolchain. This 
command gives an error - bash: $SPECFILE: ambiguous redirect.
It seems that there is no file "specs" on the LFS partition at all. What may be 
wrong and how to correct it?

lfs:~$ SPECFILE='dirname $(gcc -print-libgcc-file-name)'/specs && gcc -dumpspecs > $SPECFILE 
&& sed '[EMAIL PROTECTED]/lib/ld-linux.so.2@/tools&@g' $SPECFILE > tempspecfile && unset 
SPECFILE
bash: $SPECFILE: ambiguous redirect
lfs:~$

Looks like the first pair of single quotes need to be backticks.

bj

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to