SPECFILE: ambiguous redirect

Denis Silin dsln at mail.ru
Mon Oct 23 06:59:04 PDT 2006


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 's@^/lib/ld-linux.so.2@/tools&@g' $SPECFILE > tempspecfile && unset SPECFILE
bash: $SPECFILE: ambiguous redirect
lfs:~$



More information about the lfs-support mailing list