From d27ff78dc70a6e7a4fec713d138bfab9ab8fd20e Mon Sep 17 00:00:00 2001 From: Bart Jongejan Date: Mon, 11 Nov 2024 09:25:29 +0100 Subject: [PATCH] Added instructions for obtaining emcc --- WebAssembly/Installing-emcc.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 WebAssembly/Installing-emcc.md 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 +```