gcc in chroot env

Gerard Beekmans gerard at linuxfromscratch.org
Tue Nov 14 19:58:44 PST 2000

On November 14, 2000 08:30 pm, you wrote:
> Alright, it was so much fun the first time, I decided to
> start the install over when things were not working right
> under LFS. Things are making more sense this time around.
> But I have a question when it comes to installing gcc.
> In chapter 5, under Installation of GCC on the LFS system,
> the first command is
>      mkdir $LFS/usr/src/gcc-build
> Then in chapter 6, in the chroot environment, the first
> command is
>      mkdir /usr/src/gcc-build
> My system complains
> 	mkdir: cannot make directory `/usr/src/gcc-build': File
> exists
> and rightfully so, as far as I can tell. Am I supposed to
> delete that directory before I install in the chroot
> environment, or is there something else that I'm missing?

When you were done with gcc in chapter 5 you were supposed to delete the 
gcc-2.95.2 and the gcc-build directories. See chapter 2 "Installing the 
software" why.

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-

Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the blfs-support mailing list