Sign inSign up

jc776/emsdk-wasm

By jc776

•Updated almost 9 years ago

Emscripten SDK + WebAssembly

Image
0

889

jc776/emsdk-wasm repository overview

⁠Emscripten + LLVM WebAssembly Backend

Use Emscripten with the new LLVM WebAssembly backend.

https://github.com/WebAssembly/waterfall⁠

  • Installs wasm-binaries and nodejs
  • Adds emcc, emmake, etc to PATH
sudo docker run --rm -e EMCC_WASM_BACKEND=1 -v $(pwd):/src jc776/emsdk-wasm emcc -s WASM=1 hello.c -o hello.html

# serve this directory - CORS requests
sudo docker run --rm -it -v $(pwd):/var/www:ro -p 8080:8080 trinitronx/python-simplehttpserver

Tag summary

Content type

Image

Digest

Size

483.7 MB

Last updated

almost 9 years ago

docker pull jc776/emsdk-wasm