first pass GCC bootstrap problem

Chris Staub chris at beaker67.com
Fri Feb 23 07:24:40 PST 2007


Nick Bowes wrote:
> ----- Original Message ----- 
> From: "Dan Nicholson" <dbn.lists at gmail.com>
> To: "LFS Support List" <lfs-support at linuxfromscratch.org>
> Sent: Thursday, February 22, 2007 7:09 PM
> Subject: Re: first pass GCC bootstrap problem
> 
> 
>> If it's your first time following the book, chances are that you did
>> get confused (a lot of people do, including me). The idea is that you
>> have the /sources directory with all the tarballs and patches. When
>> you start a section, the commands on the page expect that you've
>> unpacked the associated tarball and entered the source tree. The
>> commands shouldn't need to be adjusted if you're in the right
>> location.
>>
>> I should also mention that using /sources isn't strictly necessary.
>> But, if it's your first time, I would suggest just following the book
>> since it is known to work. You can always tweak things to your liking
>> the next time around.
> 
> Excellent! did exactly as you said and it's solved the problem. I am 
> however having a hard time deleting the source and build directories. 
> If  I do "rmdir -v --ignore-fail-on-non-empty gcc-build/", it prints 
> "rmdir: removing directory, gcc-build/" but does nothing and returns to 
> the promt immediatly. Same for the binutils-build. Is there something 
> i'm missing or should this work?
> 
> Thanks for your help Dan 
> 

That's because rmdir only removes empty directories, so it won't remove 
gcc-build if it's not empty...

--ignore-fail-on-non-empty
                   ignore each failure that is solely because a directory
                   is non-empty



More information about the lfs-support mailing list