Skip to content

Prerequisites and Dependencies for 0.151

Vitorio edited this page Jan 13, 2014 · 1 revision

Emscripten uses these to work its magic. As this is the latest version of LLVM and Clang, chances are you will need to compile it from scratch.

Too lazy to read the LLVM build instructions? Make sure you have g++ installed (not just gcc!) and run these commands:

wget http://llvm.org/releases/3.2/llvm-3.2.src.tar.gz
wget http://llvm.org/releases/3.2/clang-3.2.src.tar.gz
tar xf llvm-3.2.src.tar.gz
cd llvm-3.2.src/tools
tar xf ../../clang-3.2.src.tar.gz
mv clang-3.2.src clang
cd ..
./configure
make
sudo make install

Follow the official instructions for installing the latest version of NodeJS. Emscripten expects a recent version of node, and you might have problems with old versions. Keep your node up to date to match your emscripten releases.

https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager