diff options
author | Jan Hubicka <jh@suse.cz> | 2003-06-05 18:36:12 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-06-05 16:36:12 +0000 |
commit | 8f231b5d874dcb328c5bbd73519ef7dfbe41c843 (patch) | |
tree | 9375614623f28bf1e529f1905796682177a852ae /Makefile.tpl | |
parent | 842a431a9afc461050e98fe241d036232713cfaf (diff) | |
download | gcc-8f231b5d874dcb328c5bbd73519ef7dfbe41c843.tar.gz |
install.tex: Document profiledbootstrap.
* install.tex: Document profiledbootstrap.
* Makefile.tpl (profiledbootstrap): New target.
* Makefile.in (profiledbootstrap): New target.
* Makefile.in (clean, distclean): Kill new stages
(POSTSTAGE1_FLAGS_TO_PASS): Break from ...
(STAGE2_FLAGS_TO_PASS): ... this one.
(STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
(stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
(stageprofile_build, stageprofile_copy, stagefeedback_build,
stagefeedback_copy): New.
(restageprofile, restagefeedback, stageprofile-start,
stageprofile, stagefeedback-start): Likewise.
* Make-lang.in: Add support for stageprofile and stagefeedback
From-SVN: r67498
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index e55c89cd0af..394a03ea968 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -1255,6 +1255,23 @@ $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc echo "Building runtime libraries"; \ $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all +profiledbootstrap: all-bootstrap configure-gcc + @r=`${PWD}`; export r; \ + s=`cd $(srcdir); ${PWD}`; export s; \ + $(SET_LIB_PATH) \ + echo "Bootstrapping the compiler"; \ + cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build + @r=`${PWD}`; export r; \ + s=`cd $(srcdir); ${PWD}` ; export s; \ + $(SET_LIB_PATH) \ + echo "Building runtime libraries and training compiler"; \ + $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all + @r=`${PWD}`; export r; \ + s=`cd $(srcdir); ${PWD}`; export s; \ + $(SET_LIB_PATH) \ + echo "Building feedback based compiler"; \ + cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build + .PHONY: cross cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld @r=`${PWD}`; export r; \ |