aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-05-21 17:39:30 +0000
committerRichard Stallman <rms@gnu.org>1992-05-21 17:39:30 +0000
commite97ed334241f4bd09ce3b8970366b58ab1192ecb (patch)
tree71cc1e3b0be013e30bbd89d063b1837b1845ac55
parent7160dd0c8210b565631b5e99aef0c2e04a7fec55 (diff)
downloadgcc-e97ed334241f4bd09ce3b8970366b58ab1192ecb.zip
gcc-e97ed334241f4bd09ce3b8970366b58ab1192ecb.tar.gz
gcc-e97ed334241f4bd09ce3b8970366b58ab1192ecb.tar.bz2
*** empty log message ***
From-SVN: r1037
-rw-r--r--gcc/Makefile.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index b38693e..f742ebf 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -360,7 +360,7 @@ STAGESTUFF = *.o insn-flags.h insn-config.h insn-codes.h \
insn-attr.h insn-attrtab.c \
stamp-flags stamp-config stamp-codes \
stamp-output stamp-recog stamp-emit stamp-extract stamp-peep \
- stamp-attr stamp-attrtab \
+ stamp-attr stamp-attrtab stamp-proto \
genemit genoutput genrecog genextract genflags gencodes genconfig genpeep \
genattrtab genattr \
$(GCC_PASSES) $(EXTRA_PARTS) $(EXTRA_PROGRAMS) gcc-cross cccp \
@@ -412,7 +412,7 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(srcdir)/version.c \
all.internal: start.encap rest.encap
# This is what to compile if making a cross-compiler.
-all.cross: native gcc-cross
+all.cross: native gcc-cross cross-test
# This is what must be made before installing GCC and converting libraries.
start.encap: native gcc $(LIBGCC1_TARGET)
# Use this to make a GCC that will be used only to recompile GCC.
@@ -441,6 +441,13 @@ config.status:
true; \
fi
+# Verify that it works to compile and link cross-test.
+# If it does, then there are sufficient replacements for libgcc1.a.
+cross-test: cross-test.o native gcc-cross
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) cross-test.o -o $@
+cross-test.o: cross-test.c native gcc-cross
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) -c $(srcdir)/cross-test.c
+
compilations: ${OBJS}
gcc: gcc.o version.o $(LIBDEPS)
@@ -1221,7 +1228,7 @@ clean: mostlyclean
# Using unprotoize.c is not quite right in the first place,
# but what better way is there?
-rm -f libgcc.a libgcc1.a libgcc2.a libgcc2.ready unprotoize.c
- -rm *.dvi
+ -rm -f *.dvi
# Delete all files that users would normally create
# while building and installing GCC.