aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-12-15 18:09:47 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-12-15 18:09:47 -0500
commitede575495613c7d0f1332379878dee17cf7f9739 (patch)
tree5081ed0ab2eea53b87aa00399f73e85119d09982
parent9473a84ff3df4e9721bfb7e767f37ec453dd9c2c (diff)
downloadgcc-ede575495613c7d0f1332379878dee17cf7f9739.zip
gcc-ede575495613c7d0f1332379878dee17cf7f9739.tar.gz
gcc-ede575495613c7d0f1332379878dee17cf7f9739.tar.bz2
(gnucompare, gnucompare3): New targets.
From-SVN: r6236
-rw-r--r--gcc/Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 65b180a..6ccaed2 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2136,6 +2136,21 @@ compare3: force
done
-rm -f tmp-foo*
+# Compare the object files in the current directory with those in the
+# stage2 directory. Use gnu cmp (diffutils v2.4 or later) to avoid
+# running tail and the overhead of twice copying each object file.
+
+gnucompare: force
+ for file in *.o; do \
+ cmp --ignore-initial=16 $$file stage2/$$file || true ; \
+ done
+
+# Similar, but compare with stage3 directory
+gnucompare3: force
+ for file in *.o; do \
+ cmp --ignore-initial=16 $$file stage3/$$file || true ; \
+ done
+
# Copy the object files from a particular stage into a subdirectory.
stage1: force
-if [ -d stage1 ] ; then true ; else mkdir stage1 ; fi