Skip to content

no native wasm support detected- hello_world.c #607

@parulkhanna

Description

@parulkhanna

Hi,

I am using Binaryen & Emscripten on MACOSX. Whenever I try to compile with native-wasm method. I get following error at time of execution.

`Paruls-MacBook-Pro:incoming parulkhanna$ ./emcc hello_world.c -s BINARYEN=1 -s 'BINARYEN_METHOD="native-wasm"' -s 'BINARYEN_SCRIPTS="spidermonkify.py"' 
Paruls-MacBook-Pro:incoming parulkhanna$ node a.out.js 
trying binaryen method: native-wasm
no native wasm support detected

/Users/parulkhanna/Desktop/emsdk_portable/emscripten/incoming/a.out.js:425
      throw ex;
      ^
no binaryen method succeeded

Also, if I generate .wasm .wast using simple BINARYEN=1 flag. How I can use polyfil to execute wasm files in browser.

Any help will be appreciated, Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions