Code:
gcc -dumpspecs | sed -e 's@/tools@@g' \
-e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \
-e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \
`dirname $(gcc --print-libgcc-file-name)`/specs
Output for this command is as follows:
Code:
bash: dirname $(gcc --print-libgcc-file-name)/specs: No such file or directory
I'm executing this code from the /sources directory. I already rm'ed the gcc-4.7.1 and gcc-build directory as per the General Compilation Instructions.
Any ideas on where I goofed?