Atmel's official toolchain for programming its AVR devices is AVR Studio. AVR Studio 5 is Windows only, but uses the gcc as its C compiler which is open-source. A viable option for Mac users is to use CrossPack, which contains precompiled versions of everything you need to develop for AVR devices, but it does not always use the latest version available.
As I'm planning to use the new ATxmega128B1 I need a newer version and so I wanted to compile everything by myself. This article gives a brief overview how to compile everything. Continue reading