Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1 KB

README.md

File metadata and controls

23 lines (19 loc) · 1 KB

win32.js is a Win32 wrapper for Emscripten.

Run

You need no Windows to run win32.js project.

  1. Download and extract MinGW w32api and mingw-rt.
  2. Install Emscripten. Note that it requires clang 3.2 and nodejs. It is really boring to build llvm/clang by yourself; use a prebuilt package if available.
  3. Clone this repository. Note there is fake-mswin submodule in use.
  4. Execute MINGW=/path/to/mingw make examples. examples/hello.cpp is compiled into examples/hello.js.
  5. Open examples/hello.html using modern web browser.