mirror of
https://github.com/ahgamut/rust-ape-example.git
synced 2024-11-25 01:01:01 +00:00
update README
This commit is contained in:
parent
6b540df45d
commit
f81a13d73d
1 changed files with 6 additions and 2 deletions
|
@ -34,6 +34,9 @@ make -j MODE= toolchain
|
||||||
make -j MODE=aarch64 toolchain
|
make -j MODE=aarch64 toolchain
|
||||||
export COSMO=$(realpath ./)
|
export COSMO=$(realpath ./)
|
||||||
cd ..
|
cd ..
|
||||||
|
mkdir cosmos
|
||||||
|
export COSMOS=$(realpath ./cosmos)
|
||||||
|
$COSMO/bin/cosmocc --update
|
||||||
```
|
```
|
||||||
|
|
||||||
Then clone this repo
|
Then clone this repo
|
||||||
|
@ -74,6 +77,7 @@ cargo +nightly build --target=./aarch64-unknown-linux-cosmo.json
|
||||||
```bash
|
```bash
|
||||||
# look at the built debug binaries
|
# look at the built debug binaries
|
||||||
ls ./target/x86_64-unknown-linux-cosmo/debug/*.com.dbg
|
ls ./target/x86_64-unknown-linux-cosmo/debug/*.com.dbg
|
||||||
|
ls ./target/aarch64-unknown-linux-cosmo/debug/*.com.dbg
|
||||||
|
|
||||||
# apelink
|
# apelink
|
||||||
MODE=
|
MODE=
|
||||||
|
@ -92,8 +96,8 @@ apelinkpls () {
|
||||||
}
|
}
|
||||||
|
|
||||||
apelinkpls ./hello.com\
|
apelinkpls ./hello.com\
|
||||||
./target/x86_64-unknown-linux-cosmo/debug/hello_world.com.dbg\
|
./target/x86_64-unknown-linux-cosmo/debug/hello.com.dbg\
|
||||||
./target/aarch64-unknown-linux-cosmo/debug/hello_world.com.dbg
|
./target/aarch64-unknown-linux-cosmo/debug/hello.com.dbg
|
||||||
|
|
||||||
# run the APE
|
# run the APE
|
||||||
./hello.com
|
./hello.com
|
||||||
|
|
Loading…
Reference in a new issue