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 \
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.
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)
# 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.