Welcome to LQ
Quote:
Entering directory `/home/lfs/gcc-build/gcc-4.1.2/gcc'
|
Sorry, this is wrong.
To build gcc-4.1.2 in /home/lfs/, you need two directories
in /home/lfs/
So we start from the very beginning :
1) cd /home/lfs/
1a) delete all gcc-4.1.2/, all gcc-build/
2) tar xvf gcc-4.1.2.tar.gz
3) mkdir gcc-build
Now you have the 2 directories, gcc-build/ , gcc-4.1.2/.
4) cd gcc-build
and in this empty directory outside gcc-4.1.2/ everything takes place.
A similar procedure is meant for binutils, so better do binutils again,
if it wasn't build correctly.
... And : binutils is to be rebuild before gcc ...
....