Sehr gut und ausführlich war auch mein Lehrer:

http://www.mikrocontroller.net/artic...R-GCC-Tutorial