Quick hack for compiling the Atmel AS toolchain (afaik this isn't the one used in AS5).
But i cant seem to find those patches ...
It uses avr-gcc-4.4.3 , but avr-libc-1.7.1.
And a newer gmp & mpfr ... (dont think gmp/mpfr versions makes much difference in the avr code).
You can skip get-patches.sh (they are already in the patches dir) , and just run getfiles.sh
Im skipping avr-libc support for the xmega32x1 & xmega128b1
I cant get the Atmel patches to work (build)
I also had to make a patch for binutils Makefile.in -
Wonder if "Atmel" ever tested the sources that is in the above url (on a build) ????
# Drop avr-libc patching for now , i cant get the Atmel sources to work
# We are skipping support for the xmega32x1 & xmega128b1
# See - avrlibc : http://distribute.atmel.no/tools...
As usual there is no warranties , and i can not be held responsible for any damage caused by the use of this script , ot what it creates.
There might be a slight error with delay.h complaining (See below).
And I just had a "hint" that the solution is to include