On Tue, 13 Dec 2011 23:21:18 +0200
"Alfs Kurmis" <[email protected]> wrote:

> Hi experts.
> 
> I try install LFS-7.
> I sucessful installed binutils /mnt/lfs/binutils-build/binutils-2.21.1
> but i can not install GCC-4.6.1.
> I gotta error - see below.
> As said here i unpacked
> http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html
> tar -jxf ../mpfr-3.1.0.tar.bz2  &&  mv -v mpfr-3.1.0 mpfr
> tar -jxf ../gmp-5.0.2.tar.bz2  &&  mv -v gmp-5.0.2 gmp
> tar -zxf ../mpc-0.9.tar.gz  && mv -v mpc-0.9 mpc
> Here
> http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html
> is used only relative paths, and i hav no overview abot folder structure.
> I can not unterstand - what is correct folders for  mpfr , gmp , mpc , GCC ?
> Absolute or relative to $LFS.
> 
> lfs@SIS-D /mnt/lfs/gcc-build/gcc-4.6.1 $ echo  $LFS    
> /mnt/lfs

No, gcc-build and gcc-4.6.1 should be alongside one another, both
in /mnt/lfs/sources. The general way the book works is that for each
package you untar the source, cd into the folder tar created and than
start executing the commands. So on the gcc page it says
mkdir ../gcc-build, that will create a folder alongside the gcc source

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