Skip to content

Commit

Permalink
add cross/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jun 25, 2023
1 parent 97c161c commit 154e7f9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions cross/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
This directory contains a few scripts to cross build toywasm
on ubuntu-focal/amd64.

I usually use this with a docker image built from
https://github.com/yamt/garbage/tree/master/myubuntu.

Also used by toywasm github CI jobs.

Expected usage:
```
./cross/setup-focal-proposed.sh
export ARCH=arm64
./cross/cross-setup.sh
./cross/setup-alternatives.sh
rm -rf build.cross.${ARCH}
./cross/cross-cmake-configure.sh
cd build.cross.${ARCH}
make
```

0 comments on commit 154e7f9

Please sign in to comment.