Skip to content
sdwilsh edited this page Mar 25, 2011 · 8 revisions

Prerequisites

You'll need the traditional prerequisites to build Mozilla:

Additionally, you'll need git.

Getting the Source

This is github, so you probably already know how to do this, but if you don't, that's OK; we're happy to help! Just run this command, and you'll get the latest and greatest source:

git clone git://github.com/zpao/v8monkey.git

Building

For developing and debugging, it's best to have a separate object directory where the building happens. Once you are in your source directory, run these commands:

cd js/src
autoconf-2.13

mkdir obj-debug
cd obj-debug
../configure --enable-debug --disable-optimize
make

Regrettably, Windows users will have an additional hoop to jump through.

Running Tests

We don't have too many tests, so you should always run them after you make a change. It's really easy to do! Assuming you are are in obj-debug, just run:

make -C v8api/test check
Clone this wiki locally