Quote:
|
cd /tmp/gcc-build/gcc-4.1.2
|
You need 2 directories in tmp (and do not use /tmp !) !
Quote:
The GCC documentation recommends building GCC
outside of the source directory in a dedicated
build directory:
|
from
http://www.linuxfromscratch.org/lfs/...gcc-pass1.html
1) /home/iconicmoronic/tmp/gcc-4.1.2
2) /home/iconicmoronic/tmp/gcc-build
../gcc-4.1.2/configure .. :
The 2 dots ../ means : look or go outside
this directory (will take you to tmp)
Example with ../../ => then you would be
in /home.
I think the LFS text is pretty clear about
the build directory, you might want to read
it over some more times.
Also remember not to reuse tmp/gcc-4.1.2
and the build dir for the next chapter
(see text, LFS) .. create new ones.
And please refer LFS version and chapter
if you have further questions.
Good Luck !