5.8 Adjusting The Tool Chain - GCC Spec File Error

Chris Staub chris at beaker67.com
Sat Apr 11 21:51:41 PDT 2009


Matthew Olivo wrote:
> I'm currently at 5.8 Adjusting The Tool Chain and am on the following command:
> 
> gcc -dumpspecs | sed 's@/lib/ld-linux.so.2@/tools&@g' \
>> `dirname $(gcc -print-libgcc-file-name)`/specs
> 
> In which the gcc specs are placed into a default folder where it will
> look. I keep getting this same here every time I try it and I've made
> sure that I am typing everything correctly:
> 
> sed: can't read /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux/gnu/4.1.2/specs: No such file or directory
> 
This usually happens when you leave the ">" off the command. Did you 
type that?



More information about the lfs-support mailing list