From e97ed334241f4bd09ce3b8970366b58ab1192ecb Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 21 May 1992 17:39:30 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r1037 --- gcc/Makefile.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index b38693ee573..f742ebfe8e8 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. -- 2.30.2