emscripten
Emscripten: An LLVM-to-WebAssembly Compiler.
Latest version: 6.0.0
Add to xmake.lua
add_requires("emscripten 6.0.0")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Kind
- toolchain
- Recipe updated
- 2026-06-05T12:07:23.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- macosx: x86_64, arm64
- windows: x86, x64
Options
No configurable options.
Versions
- 1.39.8
- 3.1.14
- 3.1.25
- 3.1.42
- 3.1.55
- 4.0.12
- 4.0.23
- 5.0.3
- 5.0.7
- 6.0.0
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "emscripten 6.0.0"show info
xrepo info "emscripten"Bind a toolchain package
Template: replace TOOLCHAIN_NAME with the matching Xmake toolchain name, which may differ from the package name (for example, emcc for emscripten). Apply this selection to a compatible target and platform; this is not an add_packages library link.
xmake.lua — replace TOOLCHAIN_NAME
add_requires("emscripten 6.0.0")
-- Replace TOOLCHAIN_NAME with the matching Xmake toolchain.
set_toolchains("TOOLCHAIN_NAME@emscripten")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "emscripten 6.0.0" shell