On Mon, 15 Aug 2011 01:21:56 +0800
赵佳晖 <[email protected]> wrote:

> Hello
>    everyone, it's my first time to build the LFS. Now i have problem.  I use
> LFS liveCD ,and the version is LFS6.3, make it in the VMware , When i first
> time adjusting the toolchain ,with this
> 
>      SPECFILE=`dirname $(gcc -print-libgcc-file-name)`/specs &&
>      gcc -dumpspecs > $SPECFILE &&
>      sed 's@^/lib/ld-linux.so.2@/tools&@g' $SPECFILE > tempspecfile &&
>      mv -vf tempspecfile $SPECFILE &&
>      unset SPECFILE
> The error information is "bash: /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/specs:
> Permission denied "
> 
> I have tried many times,and i do not know why . Can any one help me?

You should follow the book, install gcc into /tools and set /tools/bin
in your (or rather, the user lfs's ${PATH}). That way the first gcc in
your path will be the one in /tools/bin, not the one in /usr/bin on the
host system. Also, LFS-6.3 is old, don't waste your time. Get a copy of
the current version of LFS, 6.8.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to