--- /dev/null
+#! /bin/sh
+
+x="*.log"
+if [ "$1" = "log" ];then
+ x="*.sum"
+ shift
+fi
+
+if [ $# != 2 ];then
+ echo >&2 "$0 hammock/xxxxyyzzname hammock/XXXXYYZZothername"
+ exit 1
+fi
+
+diffed=false
+function diffit
+{
+ dir1=$1/out
+ dir2=$2/out
+ if [ ! -e "$dir2" ];then
+ echo "MISSING: $dir1 $dir2"
+ return
+ fi
+ diffgdb -x "$x" $dir1 $dir2
+ diffed=true
+}
+
+for arch in x86_64 i386;do
+ if [ -d $1-$arch ];then
+ diffit $1-$arch $2-$arch
+ fi
+ if [ -d $1$arch ];then
+ diffit $1$arch $2$arch
+ fi
+ if [ -d $1/*-$arch ];then
+ diffit $1/*-$arch $2/*-$arch
+ fi
+done
+if [ -d $1/out ];then
+ diffit $1 $2
+fi
+if ! $diffed;then
+ echo "NOT FOUND: $1 $2"
+fi