make bootstrap

Jeffrey A Law law@hurl.cygnus.com
Thu Sep 4 22:54:00 GMT 1997


Here's a rough first cut at a toplevel make bootstrap.  Feel free to
send updates....


It'll build stuff gcc depends on that happen to be in the tree
(texinfo, bison, binutils, gas, ld), then 3-stage gcc, compare
the stage2 and stage3 objects, then build everything else
(and even use the stage3 gcc to build the c++ runtime stuff)

I'm sure it'll need more work, but it's something y'all can start
hacking on.


.PHONY: bootstrap
bootstrap: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
	@if [ -f ./gcc/Makefile ] ; then \
	  r=`pwd`; export r; \
	  s=`cd $(srcdir); pwd`; export s; \
	  $(SET_LIB_PATH) \
	  (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) bootstrap); \
	  (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) compare); \
	else \
	  true; \
	fi
	$(MAKE) all


--
Jeff Law (law@cygnus.com)
Cygnus Solutions		EGCS GNU Compiler System
http://www.cygnus.com		http://www.cygnus.com/egcs




More information about the Gcc mailing list