OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/bash | |
2 | |
3 # TODO (eholk): This script is a hack for debugging and development | |
4 # that should be removed. | |
5 | |
6 ./wasm-install/bin/emscripten/emcc "$1" -s BINARYEN=1 \ | |
Derek Schuff
2016/04/15 16:13:23
This invocation of emcc will use whatever configur
Eric Holk
2016/04/15 16:16:59
Thanks for the suggestion. I'll include the --em-c
| |
7 -s 'BINARYEN_METHOD="native-wasm"' -O2 && \ | |
8 ./wasm-install/bin/sexpr-wasm a.out.wast -o a.out.wasm && \ | |
9 ./pnacl-sz a.out.wasm -o a.out.o -filetype=obj -O2 && \ | |
10 clang -m32 a.out.o runtime/wasm-runtime.c -g | |
OLD | NEW |