improve README
Add an instruction about redox toolchain
This commit is contained in:
parent
6aec74ec2c
commit
f7e2de5629
13
README.md
13
README.md
|
@ -78,13 +78,14 @@ The ecosystem and software Redox OS provides is listed below.
|
||||||
|
|
||||||
Sometimes things go wrong when compiling. Try the following before opening an issue:
|
Sometimes things go wrong when compiling. Try the following before opening an issue:
|
||||||
|
|
||||||
|
1. Make sure you have a redox toolchain (`x86_64-elf-redox-gcc`).
|
||||||
|
* You can install from .deb packages(`https://static.redox-os.org/toolchain/apt/`) or build [redox-os/libc](https://github.com/redox-os/libc) manually.
|
||||||
1. Run `rustup update`
|
1. Run `rustup update`
|
||||||
2. Run `make clean`.
|
1. Run `make clean pull`.
|
||||||
3. Run `git clean -Xfd`.
|
1. Make sure you have **the latest version of Rust nightly!** ([rustup.rs](https://www.rustup.rs) is recommended for managing Rust versions. If you already have it, run `rustup`).
|
||||||
4. Make sure you have **the latest version of Rust nightly!** ([rustup.rs](https://www.rustup.rs) is recommended for managing Rust versions. If you already have it, run `rustup`).
|
1. Update **GNU Make**, **NASM** and **QEMU/VirtualBox**.
|
||||||
5. Update **GNU Make**, **NASM** and **QEMU/VirtualBox**.
|
1. Pull the upstream master branch (`git remote add upstream git@github.com:redox-os/redox.git; git pull upstream master`).
|
||||||
6. Pull the upstream master branch (`git remote add upstream git@github.com:redox-os/redox.git; git pull upstream master`).
|
1. Update submodules (`git submodule update --recursive --init`).
|
||||||
7. Update submodules (`git submodule update --recursive --init`).
|
|
||||||
|
|
||||||
and then rebuild!
|
and then rebuild!
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue