Visitar URL original
GitHub - feixiao/wasm · GitHub
Skip to content
feixiaoPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAssembly 快速入门

推荐优秀的资料cppwasm-book

编译 Emscripten

  • OSX or Ubuntu
wget https://codeload.github.com/emscripten-core/emsdk/zip/refs/tags/4.0.4 -o emsdk-4.0.4.zip
cd emsdk
./emsdk install latest
./emsdk activate latest

source ./emsdk_env.sh
source "/Users/frank/wk/forbuild/emsdk-4.0.4/emsdk_env.sh"

#echo 'source "/Users/frank/wk/forbuild/emsdk-4.0.4/emsdk_env.sh"' >> $HOME/.zprofile
  • Windows10
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
.\emsdk.bat install latest
.\emsdk.bat activate latest
.\emsdk_env.bat
# 添加相应的路径和环境变量
完整例子

参考资料

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages