#!/bin/sh
# DF-1085 build — compiles the harnesses (userspace replicas of the verbatim
# kernel crom_parse_text logic). Run on the DragonFly guest as any user.
set -e
cd "$(dirname "$0")"
echo "+ cc -O0 -g -Wall -o harness harness.c"
cc -O0 -g -Wall -o harness harness.c
echo "+ cc -O0 -g -Wall -o harness_fixed harness_fixed.c"
cc -O0 -g -Wall -o harness_fixed harness_fixed.c
ls -l harness harness_fixed
