Out of curiosity, I decided to take a look at the Firefox codebase, and compile it on my Mac. Mozilla's developer pages are great, with elaborate instructions on how to get the source code from the mercurial repository, to compiling and running the codebase on various platforms. You can find the details at: the Mozilla developer guide, and on Mac OS X they are as simple as:
- Get the source code from mercurial repository
- Install a specific version of autoconf (2.13)
- Build Firefox
hg clone https://hg.mozilla.org/mozilla-central
brew tap homebrew/versions brew install autoconf213
cd mozilla-central ./mach ./mach buildThe build took roughly 2 hours to finish on my MacBook Air.