diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-12-28 09:26:15 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-12-28 11:09:30 -0800 |
commit | dff67029adb1a27bff5937fa8e028fadbef521eb (patch) | |
tree | 2bdd43d9a812cc7b1a184f5c383a0e5a2038fc75 /subx_bare.md | |
parent | 7566d80ade1177939bf29345b5b5cbb976765cc5 (diff) | |
download | mu-dff67029adb1a27bff5937fa8e028fadbef521eb.tar.gz |
7439 - start translating Mu programs to baremetal
Diffstat (limited to 'subx_bare.md')
-rw-r--r-- | subx_bare.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subx_bare.md b/subx_bare.md index f4ee07ff..535b14fd 100644 --- a/subx_bare.md +++ b/subx_bare.md @@ -133,15 +133,15 @@ translate itself. For example, running natively on Linux: ```sh # generate translator phases using the C++ translator $ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/hex.subx -o hex -$ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/survey.subx -o survey +$ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/survey_elf.subx -o survey_elf $ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/pack.subx -o pack $ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/assort.subx -o assort $ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/dquotes.subx -o dquotes $ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/tests.subx -o tests -$ chmod +x hex survey pack assort dquotes tests +$ chmod +x hex survey_elf pack assort dquotes tests # use the generated translator phases to translate SubX programs -$ cat init.linux apps/ex1.subx |./tests |./dquotes |./assort |./pack |./survey |./hex > a.elf +$ cat init.linux apps/ex1.subx |./tests |./dquotes |./assort |./pack |./survey_elf |./hex > a.elf $ chmod +x a.elf $ ./a.elf $ echo $? |