Skip to content

Instantly share code, notes, and snippets.

@mzgoddard
Created January 30, 2013 05:56
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 mzgoddard/4671039 to your computer and use it in GitHub Desktop.
Save mzgoddard/4671039 to your computer and use it in GitHub Desktop.
build instructions for OSX box2d emscripten
# https://gist.github.com/1974955
brew install node spider-monkey closure-compiler yuicompressor
brew install llvm --with-clang
git clone git://github.com/kripken/emscripten.git
cd emscripten
./emcc
(mate|vim|emacs) ~/.emscripten
# Change EMSCRIPTEN and LLVM defaults
# EMSCRIPTEN - wherever you clone emscripten to
# LLVM on OSX is /usr/local/bin
git clone git://github.com/kripken/box2d.js.git
cd box2d
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment