This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Makefile change to restart bootstraps
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: Makefile change to restart bootstraps
- From: ebiederm at xmission dot com (Eric W. Biederman)
- Date: 16 Nov 2000 21:16:10 -0700
- Cc: aoliva at redhat dot com, gcc at gcc dot gnu dot org
- References: <10011141126.AA15195@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> I can see it's advisable to do it when testing GCC, but remember that
> these rules are also for people who're going to build GCC to use.
>
> Right.
>
> They used to get quite frustrated when `make bootstrap' re-started the
> build pretty much from scratch, and it would be quite annoying to have
> the bootstrap restarted just because you tweak something in a config.h
> file.
>
> But remember that machines are much faster than when people "used to"
> compain! The bootstrap shouldn't *need* to be "restarted". I'd argue
> quite the opposite: if a bootstrap failed for some reason, it's
> necessary to understand why and fix it so that it can run completely
> through. Otherwise, how can you have confidence in the result?
>
> And *certainly* if somebody other than a developer "teawked" something in
> config.h, I'd want the bootstrap to *definitely* restart from the beginning
> since he can't be sure how much it affects.
So why aren't dependencies set up correctly in the makefile?
> In fact the "normal user" argument makes it even stronger that we should not
> have this sort of restarting bootstrap since it's much harder for normal
> users to know they have to take steps to start over than for dvelopers.
Again set the dependencies up properly and make knows what needs to be rebuilt
because that's it's job.
Eric