summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-03-18 21:39:12 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-03-18 21:39:12 -0700
commitc8faff5ddbc7e93134763a845371b66bc2be56a4 (patch)
treecd48fbd3fc9d529908c7182aa2bcd071417e36ff
parentae4d2f092bbe973542c18a2b948838ac79af1f39 (diff)
downloadbinaryen-c8faff5ddbc7e93134763a845371b66bc2be56a4.tar.gz
binaryen-c8faff5ddbc7e93134763a845371b66bc2be56a4.tar.bz2
binaryen-c8faff5ddbc7e93134763a845371b66bc2be56a4.zip
improve docs
-rw-r--r--README.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/README.md b/README.md
index d997c8307..b0021dcf1 100644
--- a/README.md
+++ b/README.md
@@ -109,9 +109,7 @@ Pass `--debug` on the command line to see debug info, about asm.js functions as
### C/C++ Source ⇒ asm2wasm ⇒ WebAssembly
-When using `emcc` with the `BINARYEN` option, it will use Binaryen to build to WebAssembly. See the [emscripten wiki](https://github.com/kripken/emscripten/wiki/WebAssembly) for more details.
-
- * 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).
+When using `emcc` with the `BINARYEN` option, it will use Binaryen to build to WebAssembly. This lets you compile C and C++ to WebAssembly, with emscripten using asm.js internally as a build step. Since emscripten's asm.js generation is very stable, and asm2wasm is a fairly simple process, this method of compiling C and C++ to WebAssembly is usable already. See the [emscripten wiki](https://github.com/kripken/emscripten/wiki/WebAssembly) for more details about how to use it.
### C/C++ Source ⇒ WebAssembly LLVM backend ⇒ s2wasm ⇒ WebAssembly