#!/bin/sh # Translate a given Mu program to 'baremetal', a raw disk image that can boot # and run without any OS. # # This script uses emulation, so it does not require x86 or Linux. However it # is slow. set -e cat $* baremetal/[0-9]*.mu |./bootstrap run apps/mu > a.subx ./translate_subx_baremetal_emulated baremetal/mu-init.subx baremetal/[0-9]*.subx a.subx