GCC 4.0.3 fails to compile Chapter 6.12

Dan Nicholson dbn.lists at gmail.com
Thu Jun 8 17:44:22 PDT 2006

On 6/8/06, Chris Whitacre <cd at falkenbbs.com> wrote:

> These errors
> only exist if the gcc patch is installed. I'm thinking that people are
> doing what I did and using the pre-existing build of GCC from chapter 5.x
> which is generating all sorts of errors. Are we supposed to do it this
> way, or are we supposed to create fresh source directories everytime we
> work with a program.

It's amazing how many times people miss this.  It has to be in the top
5 problems that comes up on this list since I've been around.  The
answer is here (read the big yellow boxes):


> NOTE: I have gone on removing all directories if
> they exist when compiling a program and I have made it as far as GRUB in
> section 16 without issues. Did I hose the system by deleting the source
> dir of GCC left over from 5.x?

See above.


More information about the lfs-support mailing list