環境はMac OS 10.11.3.
http://kripken.github.io/emscripten-site/docs/building_from_source/building_emscripten_from_source_using_the_sdk.html#building-emscripten-from-source-using-the-sdk
に英語で書いてあるがメモ程度に
まずは
http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html#sdk-download-and-install
へ向かい、Mac OS X用である
"Portable Emscripten SDK for Linux and OS X"
をダウンロードして解凍, その後その解凍ディレクトリにて,
$ ./emsdk install latest
$ ./emsdk activate latest
以上. emsdk_portable/emscripten 以下に実行可能コマンド群が用意されるのであとは煮るなり焼くなりしてどうぞ.
Node.jsを入れていないならば
$ brew install node
して入れておくこと.
テスト的に書いてみたけれど、kobitoがやたらと固まるのはなぜだろうか.