Hello! To the beginning sorry for my bad english i came from Germany....
A now to my problem in chapter 5.7 Adjusting the Toolchain
Is the following to point GCC to the new dynamic linker:
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
If i enter this i became following bash error:
Code:
bash: $SPECFILE: ambiguous redirect
Where is the problem?
Thanks for Help