Emscripten-mac安装与升级

教程:WASM 初体验: Hello, World

安装命令:

$ git clone https://github.com/emscripten-core/emsdk.git

# Fetch the latest registry of available tools.
./emsdk update

# Download and install the latest SDK tools.
./emsdk install latest

# Set up the compiler configuration to point to the "latest" SDK.
./emsdk activate latest

# Activate PATH and other environment variables in the current terminal
source ./emsdk_env.sh

安装指定版本:

# Get a specific version using the fastcomp backend.
./emsdk install 2.0.22
./emsdk activate 2.0.22
source ./emsdk_env.sh

你可能感兴趣的:(webAssembly,emcc,emscripten)