summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-13 15:18:28 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-13 15:18:28 -0800
commitcf5d4c86462e4da31d6a6e10f9104828dc6eb64f (patch)
treebec42cdcdb6db2e258a8799d5cc97fb69e03da0c
parent4b5c9e7fb5e5323cd558e33ac4c6c8f85cba2fbb (diff)
downloadbinaryen-cf5d4c86462e4da31d6a6e10f9104828dc6eb64f.tar.gz
binaryen-cf5d4c86462e4da31d6a6e10f9104828dc6eb64f.tar.bz2
binaryen-cf5d4c86462e4da31d6a6e10f9104828dc6eb64f.zip
more readme stuff
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index c264cf6d1..4e741e7e9 100644
--- a/README.md
+++ b/README.md
@@ -140,6 +140,7 @@ The `WASM_BACKEND` option tells it to use the WebAssembly backend instead of the
* Due to current limitations of the WebAssembly backend, you might want to build with `-s ONLY_MY_CODE=1 -O1`, which will avoid linking in libc (which contains varargs, which are not yet supported), and optimizes so that the stack is not used (which is also not yet supported).
* The output when building in this mode is similar to what you get in general when building with Binaryen in Emscripten: a main `.js` file, and the compiled code in a `.wast` file alongside it.
+ * Build with `EMCC_DEBUG=1` in the env to see Emscripten's debug output as it runs the various tools, and also to save the intermediate files in `/tmp/emscripten_temp`. It will save both the `.s` and `.wast` files there (in addition to other files it normally saves).
## Testing