Unable to compile GCC-4.4.3, Pass 1

Tobias Gasser lfs at ebp-gasser.ch
Sat Mar 27 08:46:31 PDT 2010

Philippe Delavalade schrieb:
> Maybe a suggestion for those who read to quikly :
> five or six lines more in each chapter, something like
> cd /$LFS/sources
> tar -xvf package-version.tar.[gz|bz2]
> cd package-version
> ...
> cd ..
> rm -vfr package-version
> and eventually
> rm -vfr package-build
> It should perhaps prevent people not to follow 5.3 ?

good idea.

i'd go even one step further on.

add another variable pointing to the packages.

cd $LFS/sources
tar -xvf $PCK/package-version.EXT
cd package-version

and with gcc

cd $LFS/sources
tar -xvf $PCK/gccX
cd gccX
tar -xvf $PCK/gmpX
mv gmpX gmp
tar -xvf $PCK/mpfr

this avoids any relative path, everyting is fully specified by the
variables $LFS and $PCK (or whatever you choose).


More information about the lfs-support mailing list