
Main — Emscripten 5.0.7-git (dev) documentation
Emscripten is a complete compiler toolchain to WebAssembly, using LLVM, with a special focus on speed, size, and the Web platform. Porting Compile your existing projects written in C or C++ — or …
Download and install — Emscripten 5.0.7-git (dev) documentation
emscripten/emsdk emcc helloworld.cpp -o helloworld.js See the Docker Hub page for more details and examples. Installation using unofficial packages Note The emsdk is the only officially supported way …
About Emscripten — Emscripten 5.0.7-git (dev) documentation
About Emscripten Emscripten is a complete Open Source compiler toolchain to WebAssembly. Using Emscripten you can: Compile C and C++ code, or any other language that uses LLVM, into …
Emscripten Tutorial — Emscripten 5.0.7-git (dev) documentation
Emscripten Tutorial Using Emscripten is, at a base level, fairly simple. This tutorial takes you through the steps needed to compile your first Emscripten examples from the command line. It also shows how …
Emscripten Documentation — Emscripten 5.0.7-git (dev) documentation
Emscripten Documentation This comprehensive documentation set contains everything you need to know to use Emscripten. Getting started: Introducing Emscripten explains what Emscripten does, …
Building to WebAssembly — Emscripten 5.0.7-git (dev) documentation
Building to WebAssembly WebAssembly is a binary format for executing code on the web, allowing fast start times (smaller download and much faster parsing in browsers when compared to JS or asm.js). …
Getting Started — Emscripten 5.0.7-git (dev) documentation
Getting Started Now you know why Emscripten is right for you, it’s time to get started. This section provides a walk-through of downloading and installing the SDK and the basics of using the …
Introducing Emscripten — Emscripten 5.0.7-git (dev) documentation
Introducing Emscripten This section explains what Emscripten does, why it is needed, its limitations and its licensing. After reading, you will understand whether Emscripten is the right tool for you, and …
Building Projects — Emscripten 5.0.7-git (dev) documentation
Building Projects Emscripten provides two scripts that configure your makefiles to use emcc as a drop-in replacement for gcc — in most cases the rest of your project’s current build system remains …
Emscripten Compiler Settings
Emscripten Compiler Settings The following is a complete list of settings that can be passed to emscripten via -s on the command line. For example -sASSERTIONS or -sASSERTIONS=0. For …