summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-19 05:56:16 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-19 05:56:16 +0000
commit20e61444efddee1303b9df5fd87cc8abe2cb691c (patch)
tree1eeb4b11fe1924b2c462b3df04e853ec8f3795fd /Makefile.in
parentc6d9586e728ca34a3b16a334058c6bd087371329 (diff)
downloadgcc-20e61444efddee1303b9df5fd87cc8abe2cb691c.tar.gz
* Makefile.in (cross): New target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15564 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index bdb09d715af..063293453d2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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 \