-
CMake >= 2.6
-
C++ compiler supporting c++11 standard with Standard Library
- Our System call module is for Linux only.
You can disable it in USE_SYSCALL cmake configuration if you're running Wasm without syscall module in other operating system.
- This project uses "Taiwan Traditional Chinese" as primary, English as secondary language in documents.
Other languages (Ex: Simplified Chinese) are only used as references or translations.
- Run CMake
mkdir build && cd build && cmake ..- Run Make
make -j4-
Prepare your WebAssembly binary file postfixed with
.wasmYou can convert text format with wabt or wat2wasm online.
-
Run WasmVM
./WasmVM \<Filename of main module file\>The imported module will be searched in the same directory of main module.
If you want to load more module, just append those modules by space-separated list after your command.