LFS 6.3 chpt 5.7 step cmd problem

Stealth genericmaillists at gmail.com
Sun Nov 30 12:18:31 PST 2008


On Sunday 30 November 2008 02:17:30 pm Herman Gerritsen wrote:
> > gcc -dumpspecs | sed 's@^/lib/ld-linux.so.2@/tools&@g' \
> >
> >  > `dirname $(gcc -print-libgcc-file-name)`/specs
> >
> > and I get:
> >
> > sed: can't read /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/specs: No
> > such file or directory
>
> Did you check your $PATH variable?
> I believe the directory that is returned by "gcc
> --print-libgcc-file-name" Should start with /mnt/lfs/...
> It looks like you are using your hosts gcc in this case.
> Your $PATH variable sould start with PATH=/tools/bin;

$PATH is:

PATH=/tools/bin:/bin:/usr/bin

As it is written in the book 6.3

this is where my specs file is located:

/mnt/lfs/sources/gcc-build/gcc

What did I do wrong?

-- 
Stealth



More information about the lfs-support mailing list