Skip to content

Instantly share code, notes, and snippets.

@eholk
Created March 31, 2016 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eholk/d65669134782a9eae428dc60880a7f94 to your computer and use it in GitHub Desktop.
Save eholk/d65669134782a9eae428dc60880a7f94 to your computer and use it in GitHub Desktop.
$ ./wasm-install/bin/emscripten/emcc hello-wasm.c -s BINARYEN=1
Unknown option '--total-memory'
Traceback (most recent call last):
File "./wasm-install/bin/emscripten/emcc", line 13, in <module>
emcc.run()
File "/usr/local/google/home/eholk/nacl/native_client/toolchain_build/src/subzero/wasm-install/bin/emscripten/emcc.py", line 1848, in run
subprocess.check_call(cmd, stdout=open(wasm_text_target, 'w'))
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/google/home/eholk/wasm/binaryen/bin/asm2wasm', 'a.out.asm.js', '--mapped-globals=a.out.wast.mappedGlobals', '--total-memory=16777216']' returned non-zero exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment