[lfs-support] error while toolchain linking

Bruce Dubbs bruce.dubbs at gmail.com
Sun Mar 18 12:31:56 PDT 2012


ankit vishwakarma wrote:
> the following error occured while performing the linking please
> provide some help regarding this. Thank you
> 
> 
> 
> lfs at ankit-Inspiron-1012:/mnt/lfs/tools$ SPECS=`dirname $($LFS_TGT-gcc
> -print-libgcc-file-name)`/specs
> i686-lfs-linux-gnu-gcc: command not found
> dirname: missing operand
> Try `dirname --help' for more information.
> lfs at ankit-Inspiron-1012:/mnt/lfs/tools$

You really shouldn't be in the directory /mnt/lfs/tools, but also more 
critically, is that either your PATH is not set properly or you didn't 
get gcc pass1 installed properly.

You are not very far along.  Perhaps the easiest thing to do is start over.

   -- Bruce



More information about the lfs-support mailing list