Stealth wrote: > On Sunday 30 November 2008 02:17:30 pm Herman Gerritsen wrote: >>> gcc -dumpspecs | sed '[EMAIL PROTECTED]/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
have you issued "export PATH"? > > As it is written in the book 6.3 > > this is where my specs file is located: > > /mnt/lfs/sources/gcc-build/gcc What is the output of echo $PATH which gcc > > What did I do wrong? > -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page