Zwar kein Programm für Motoren aber vielleicht hilft dir das ja trotzdem weiter:

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