NOTE: This article is now available as a series of articles on MDN: https://developer.mozilla.org/en/Mozilla/Boot_to_Gecko/ and will be maintained and updated there.
Part 1: Setting up Boot-to-Gecko build environment
Syndicator
Mozilla