Skip to content

Commit 2192190

Browse files
committed
補充 riscv64 工具鏈及模擬器的安裝指令
1 parent 71679b1 commit 2192190

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

book/零.一版編譯目標:精五門(RISC-V)真言極簡子集.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@
99

1010
## 實驗環境架設
1111

12-
絕大部分的人手邊都沒有精五架構的板子,需要先安裝交叉編譯器跟精五模擬器(本作選擇使用 qemu)。
12+
絕大部分的人手邊都沒有精五架構的板子,需要先安裝
13+
14+
- 交叉編譯器工具鏈
15+
- 精五模擬器(本作選擇使用 qemu)
16+
17+
以下是 ubuntu 的安裝指令。
18+
```
19+
sudo apt install gcc-riscv64-unknown-elf # 安裝編譯目標為 riscv64 的工具鏈
20+
sudo apt install qemu-user # 安裝可執行 linux 執行檔的 qemu
21+
```
1322

1423
## 返回 100
1524

0 commit comments

Comments
 (0)