Download
$ git clone https://github.com/juj/emsdk.git
$ cd emsdk
$ ./emsdk install latest
$ ./emsdk activate latest
source
$ source ./emsdk_env.sh --build=Release
compile
emcc hello.c -s WASM=1 -o hello.html
$mv hello.html /var/www/html/.
open it in your browser.
沒有留言:
張貼留言