Upgrade of prehistoric tool chain

eried wrote:

I had to modify a lot of files from the ide because the new avr-g++ didn't worked

IDE tweaking is a time consuming process, normally all the compiler stuff should be in a config file similiar to boards.txt in the
hardware directory.

I recently found a tool named Arscons. It mimics the Arduino build process with the tool scons. With this tool it is easier to switch
between toolchains, check out compiler settings and make comparissions about the compiler performance and code sizes. Since it uses
the automatic dependency tracker of scons, the build speed after the first run increases dramatically. I was needed to make some
patches to the script in order to fix some bugs, Homin, the maintainer of Arscons, integrated some of this patches.