diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-03-05 14:33:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 14:33:45 -0800 |
commit | 3a275d0627da443cce93631a64d78e7b3f441416 (patch) | |
tree | 55c5d2107d15cb67da1675e5db977a0b9456931b | |
parent | 5034bf1dd28c9066422680cf516513af92bbbb8a (diff) | |
download | binaryen-3a275d0627da443cce93631a64d78e7b3f441416.tar.gz binaryen-3a275d0627da443cce93631a64d78e7b3f441416.tar.bz2 binaryen-3a275d0627da443cce93631a64d78e7b3f441416.zip |
Update build instructions in README (#2667)
-rw-r--r-- | README.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -180,12 +180,14 @@ Usage instructions for each are below. ``` cmake . && make ``` -Note that you can also use `ninja` as your generator: `cmake -G Ninja . && ninja` -* A C++11 compiler is required. -* The JavaScript components can be built using `build-js.sh`, see notes inside. Normally this is not needed as builds are provided in this repo already. +A C++14 compiler is required. Note that you can also use `ninja` as your generator: `cmake -G Ninja . && ninja`. -If you also want to compile C/C++ to WebAssembly (and not just asm.js to WebAssembly), you'll need Emscripten. You'll need the `incoming` branch there (which you can get via [the SDK](http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html)), for more details see [the wiki](https://github.com/kripken/emscripten/wiki/WebAssembly). +Binaryen.js can be built using Emscripten, which can be installed via [the SDK](http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html)). + +``` +emcmake cmake . && emmake make binaryen_js +``` ### Visual C++ |