If you’ve ever looked into compiling your own version of CyanogenMod or AOSP from source then I’m sure you will have noticed that there are a wide selection of extremely detailed and helpful guides out there. However if you intend on building on a Mac, you may have noticed that most of those guides aren’t quite applicable.
While there a few tutorials on how to build CyanogenMod 7 on Cupertino’s finest, it seems that CM9 has yet to receive the same treatment. This is where XDA Senior Member ArmanUV comes in. He has put together a comprehensive guide on how to do just that.
The guide is based around building CM9 for the GSM Galaxy Nexus on OS X Lion, but could also be adapted to building for other devices with a little cross referencing from one of the other many tutorials available. It should enable you to start building from source in no time at all. Pretty much everything is covered from setting up the required tools such as Java and the Android SDK right through to downloading the source, device specific files, and obviously the compiling process itself.
If you are a Mac user and wish to learn a little more about how to build your own ROMs, you should definitely take the time to check out the guide thread._________