[toplevel PATCH 5/7] Allow `make all-gcc' when bootstrapping
Alexandre Oliva
aoliva@redhat.com
Sun Feb 19 19:02:00 GMT 2006
On Jan 28, 2006, Paolo Bonzini <paolo.bonzini@lu.unisi.ch> wrote:
> `all-gcc' currently does nothing if we are bootstrapping, on the
> grounds that the three stages of GCC are built earlier. But
> alternatively, we can make `all-host' skip packages that were
> bootstrapped.
I think it should ideally complete the build in the current stage.
Not sure whether that's what your patch accomplishes.
> Similarly, when bootstrapping, a target module need not
> have a dependency on all-gcc, but only on `stage_last'.
This is nice, but depending on stage_last is a bit confusing,
especially given that it will not actually build everything all the
way to the last stage to only then start building the requested
library. Any chance of changing the spelling of the dependency so
that its intuitive meaning matches the visible behavior?
> 2006-01-28 Paolo Bonzini <bonzini@gnu.org>
> PR bootstrap/25670
> * Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
> all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
> of `cat stage_current`. Always provide the `r' and `s' variables.
> (clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
> a single shell execution.
> (configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
> bootstrapped modules, make the stage1 module if the build was not
> started yet, else build the current stage.
> (all-host, all-target): Omit bootstrapped modules (if bootstrapping).
> (all-build, all-host, all-target, [+make_target+]-host,
> [+make_target+]-target): Do not use \-continued lines.
> (target modules): Depend on stage_last, not all-gcc, if bootstrapping.
> (current_stage, restrap, stage_last): New.
> * Makefile.in: Regenerate.
Ok, thanks
:REVIEWMAIL:
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
More information about the Gcc-patches
mailing list