|
|
Line 12: |
Line 12: |
|
| |
|
| hg clone http://hg.mozilla.org/tracemonkey | | hg clone http://hg.mozilla.org/tracemonkey |
|
| |
| === Build Firefox ===
| |
|
| |
| The tracemonkey/ directory contains a full copy of all the firefox source code. Before building it, you need a .mozconfig file. Download one we made earlier:
| |
|
| |
| wget http://TODO/.mozconfig -O ~/.mozconfig
| |
|
| |
| Build it:
| |
|
| |
| cd tracemonkey
| |
| make -f client.mk build
| |
|
| |
| This builds an "out-of-source" build, where the object files and binaries are in obj-i686-pc-linux-gnu (depending of course on your platform).
| |
|
| |
| This is going to take a long time, maybe an hour on a four core machine. It's a good time to peruse the rest of this guide.
| |
|
| |
|
| === Build the js shell === | | === Build the js shell === |