Skip to content

Commit

Permalink
自己复现的错误补充 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
nusakom authored Aug 15, 2024
1 parent 5fd6ef4 commit 74adab1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ A simple operating system implemented in rust. The purpose is to explore how to

## Run

1. install qemu 7.0.0
1. install qemu 7.0.0(qume版本最低要求7.0.0)
2. install rust nightly
3. install riscv64-linux-musl [toolchain](https://musl.cc/)

Expand All @@ -49,6 +49,7 @@ make help

```
# 一键运行qemu,注意在编译busybox时选择静态链接Settings->Build static binary (no shared libs)
# 忘记设置静态链接可以使用make clean重新配置
make run
# run test
> cd tests
Expand All @@ -59,8 +60,9 @@ make run

```
make run GUI=y
# 在编译和运行的时候指定参数y
cd tests
slint or guitest or todo or printdemo or memorygame or ...
slint or sysinfo or todo or printdemo or memorygame
```

### [Run VisionFive2](./docs/doc/boot.md)
Expand Down
3 changes: 2 additions & 1 deletion docs/doc/musl.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ https://stackoverflow.com/questions/74424444/how-to-build-a-rust-program-for-ris
https://www.reddit.com/r/rust/comments/17nxdc3/help_trying_to_build_for_riscv64gcunknownlinuxmusl/

https://github.com/rust-lang/rust/issues/120655 给出了解决方案

(在自己的riscv工具链命令下创建一个符号链接,指向libgcc.)
ln -s your path/libgcc.a /your path/libunwind.a


## 缺少浮点数相关的函数的问题
Expand Down

0 comments on commit 74adab1

Please sign in to comment.