mirror of
https://github.com/ahgamut/rust-ape-example.git
synced 2024-11-21 15:30:59 +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
|
||||
export COSMO=$(realpath ./)
|
||||
cd ..
|
||||
mkdir cosmos
|
||||
export COSMOS=$(realpath ./cosmos)
|
||||
$COSMO/bin/cosmocc --update
|
||||
```
|
||||
|
||||
Then clone this repo
|
||||
|
@ -74,6 +77,7 @@ cargo +nightly build --target=./aarch64-unknown-linux-cosmo.json
|
|||
```bash
|
||||
# look at the built debug binaries
|
||||
ls ./target/x86_64-unknown-linux-cosmo/debug/*.com.dbg
|
||||
ls ./target/aarch64-unknown-linux-cosmo/debug/*.com.dbg
|
||||
|
||||
# apelink
|
||||
MODE=
|
||||
|
@ -92,8 +96,8 @@ apelinkpls () {
|
|||
}
|
||||
|
||||
apelinkpls ./hello.com\
|
||||
./target/x86_64-unknown-linux-cosmo/debug/hello_world.com.dbg\
|
||||
./target/aarch64-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.com.dbg
|
||||
|
||||
# run the APE
|
||||
./hello.com
|
||||
|
|
Loading…
Reference in a new issue