diff options
Diffstat (limited to 'wasm')
-rw-r--r-- | wasm/README.md | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/wasm/README.md b/wasm/README.md index b18429a381..4269bc33cf 100644 --- a/wasm/README.md +++ b/wasm/README.md @@ -23,7 +23,14 @@ $ export WASI_SDK_PATH=/path/to/wasi-sdk-X.Y ```console $ export PATH=path/to/binaryen:$PATH ``` -5. Configure +5. Download the latest `config.guess` with WASI support, and run `./autogen.sh` to generate configure when you + are building from the source checked out from Git repository +```console +$ ruby tool/downloader.rb -d tool -e gnu config.guess config.sub +$ ./autogen.sh +``` + +6. Configure - You can select which extensions you want to build. - If you got `Out of bounds memory access` while running the produced ruby, you may need to increase the maximum size of stack. ```console @@ -34,7 +41,7 @@ $ ./configure LDFLAGS="-Xlinker -zstack-size=16777216" \ --with-ext=ripper,monitor ``` -6. Make +7. Make ```console $ make install ``` |