riscv back

This commit is contained in:
Yaossg 2024-12-24 21:31:12 +08:00
parent 92f4b4f561
commit 2b9ed2e2a4
4 changed files with 58 additions and 13 deletions

View file

@ -22,13 +22,13 @@ sudo apt install gcc-12-riscv64-linux-gnu qemu-user qemu-system-misc
编译运行程序src 为本语言源代码。可以编译 demo 或 test 文件夹下的实例。
```sh
$ sh run.sh <src>
$ bash run.sh <src>
```
自举编译器,输出的文件位于 build 文件夹中。
```sh
$ sh boot.sh
$ bash boot.sh
```
### 自举过程
@ -171,7 +171,7 @@ $ sh boot.sh
直接运行
```sh
$ sh test.sh
$ bash test.sh
```
### 覆盖率