if test "$UNIFY"; then
    echo load $1
    if test -f a.out; then
      rm a.out
    fi

    ld -n -X \
	    /lib/crt0.o \
	    $2 $3 $4 $5 $6 $7 $8 $9 \
	    $UNIFY/upintf.a \
	    $UNIFY/libd.a  $UNIFY/libx.a \
	    -ltermcap -lm -lc

    if test -f a.out; then
	size a.out
	chmod 777 a.out
	mv a.out $1
	echo $1 loaded as $1
    else
	echo $1 not loaded
    fi
else
    echo "$0: The UNIFY environment variable is not set."
fi
