view lab1/compile @ 4:9f5c8e19f204 tip basis

Oops: fix for lab0
author Mike Spivey <>
date Mon, 15 Oct 2018 21:58:03 +0100
parents 5dd13b8deb54
line wrap: on
line source

# This hacked up version works, at least on Linux, even for people who
# have spaces in the names of directories.  Sheesh.

KEIKO=`cd ../keiko; pwd`

set -x

./ppc $* >a.k \
    && "$KEIKO/pplink" -nostdlib -i "/usr/bin/env $KEIKO/ppx" \
        "$KEIKO/lib.k" a.k -o a.out >/dev/null \
    && chmod +x a.out