update README

master
chyyuu 6 years ago
parent 61e55e3c0a
commit e282fb16ba

@ -26,6 +26,7 @@ $ brew install FileSottile/musl-cross/musl-cross
```bash ```bash
$ make {ucore,biscuit,rust,all} arch={i386,x86_64,riscv32,riscv64,aarch64} $ make {ucore,biscuit,rust,all} arch={i386,x86_64,riscv32,riscv64,aarch64}
$ make sfsimg arch={i386,x86_64,riscv32,riscv64,aarch64}
``` ```
Output to `build/$(arch)` Output to `build/$(arch)`

@ -1,3 +1,17 @@
#method 1
## install steps
```
wget https://www.musl-libc.org/releases/musl-1.1.21.tar.gz
tar zxf musl-1.1.21.tar.gz
cd musl-1.1.21/
./configure --prefix=/home/rcore/env/musl-install
make && make install
cd /home/rcore/env/musl-install/bin
ln -s musl-gcc x86_64-linux-musl-gcc
```
# method 2
## step 1: build musl-gcc with gcc-6.4+musl-1.1.21 ## step 1: build musl-gcc with gcc-6.4+musl-1.1.21
``` ```
git clone https://github.com/richfelker/musl-cross-make.git git clone https://github.com/richfelker/musl-cross-make.git

Loading…
Cancel
Save