* Makefile.in (cross): New target.

From-SVN: r15564
This commit is contained in:
Jeffrey A Law 1997-09-19 05:56:16 +00:00 committed by Jeff Law
parent 339c9b006c
commit 09f97c1e6c
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Thu Sep 18 23:58:27 1997 Jeffrey A Law (law@cygnus.com)
* Makefile.in (cross): New target.
Thu Sep 18 21:43:23 1997 Alexandre Oliva <oliva@dcc.unicamp.br>
Jeff Law <law@cygnus.com>

View File

@ -1298,6 +1298,16 @@ bootstrap bootstrap2 bootstrap3: all-texinfo all-bison all-byacc all-binutils al
@echo "Building runtime libraries"; \
$(MAKE) all
.PHONY: cross
cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
@r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
$(SET_LIB_PATH) \
echo "Building the C and C++ compiler"; \
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
@echo "Building runtime libraries"; \
$(MAKE) all LANGUAGES="c c++"
.PHONY: check-gcc
check-gcc:
@if [ -f ./gcc/Makefile ] ; then \