This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: quickstrap, et al, at the top level?
On Fri, Oct 25, 2002 at 11:20:58AM -0400, DJ Delorie wrote:
>
> > Is there any particular reason why the addition *strap targets aren't
> > available from the top-level Makefile?
>
> Other than "because there's a LOT of subdir-specific targets, and we
> can't implement them all in the toplevel Makefile", I can't think of
> any.
What would you think of the following two-line patch, then, adding the
other *strap targets? It lets me 1) use those targets with the correct
GCC_FLAGS_TO_PASS settings, and 2) continues to automatically do the
'make compare' step afterwards.
Changing this same rule to call 'make gnucompare' instead of 'make compare'
shaves a minute or so off the bootstrap time for me, but I won't submit
that patch. :-) Unfortunately, there's no other way to get to that target
from the top level.
Index: Makefile.tpl
===================================================================
RCS file: /home/pme/Repositories/GCC/gcc/Makefile.tpl,v
retrieving revision 1.11
diff -u -r1.11 Makefile.tpl
--- Makefile.tpl 3 Oct 2002 19:06:15 -0000 1.11
+++ Makefile.tpl 25 Oct 2002 17:30:17 -0000
@@ -1242,8 +1242,8 @@
# In theory, on an SMP all those dependencies can be resolved
# in parallel.
#
-.PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean
-bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean: all-bootstrap
+.PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
+bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap: all-bootstrap
@r=`${PWD}`; export r; \
s=`cd $(srcdir); ${PWD}`; export s; \
$(SET_LIB_PATH) \