Skip to content

Instantly share code, notes, and snippets.

@nathanhammond
Created March 4, 2012 21:48
Show Gist options
  • Star 23 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save nathanhammond/1974955 to your computer and use it in GitHub Desktop.
Save nathanhammond/1974955 to your computer and use it in GitHub Desktop.
How to get Emscripten running on OS X.

Running emscripten on OS X

There are a number of additional dependencies required for getting things installed on OS X. Starting with a blank slate OS X machine, this is the process it takes:

# Install Xcode Command Line Tools

# Install Homebrew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

# Some deps
brew install node spidermonkey closure-compiler yuicompressor
brew install llvm --with-clang

cd ~/Repos
git clone git://github.com/kripken/emscripten.git
@shovon
Copy link

shovon commented Aug 5, 2013

@billmills yet another update: https://gist.github.com/shovon/6151878

@mralexgray
Copy link

@billMills... you should be able to do what you described via brew install llvm32 --with-clang aka /usr/local/Library/Formula/llvm32.rb

@lancejpollard
Copy link

Now you can just do this:

brew install emscripten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment