diff --git a/WebAssembly/Installing-emcc.md b/WebAssembly/Installing-emcc.md new file mode 100644 index 0000000..eaaa0db --- /dev/null +++ b/WebAssembly/Installing-emcc.md @@ -0,0 +1,13 @@ +# Install emcc + +``` +git clone https://github.com/emscripten-core/emsdk.git +cd emsdk +./emsdk install latest +./emsdk activate latest +source "/mnt/c/gitprojects/emsdk/emsdk_env.sh" +``` +Configure emsdk in your shell startup scripts by running: +``` +echo 'source "/mnt/c/gitprojects/emsdk/emsdk_env.sh"' >> $HOME/.bash_profile +```