The buildscripts in the sticky is updated to build avr-gcc-4.3.2.
https://www.avrfreaks.net/index.p...
A big thanks goes to the avr-gcc team , and to Jörg whose FreeBSD patches i base the linux build on.
Please test it , and do install the packages from pre-reqs.txt before building.
Report any errors in this thread , as the script has major changes in order to build gcc-4.3.x.
The "recipe" for building is the same as usual , but a hint might to save a copy of the "old 4.2.2" toolchain before doing the "rm -fr /usr/local/avr".
Or use symlinks (this is what i do).
Whenever i have made a new build , in /usr/local/avr , i rename it (mv) , to avr-gcc-4.x.x-libc-1.x.x (x'es are versions).
Then i (from within /usr/local/avr) do a : sudo ln -s avr-gcc-4.x.x-libc-1.x.x avr
By doing this i can switch compiler in an instance.
I just "rm" the /usr/local/avr symlink before building a new version. It doesn't touch the dir it points to.
I have done 2 testbuilds here on ubuntu 8.04 , but i have build so many avr-gcc-4-3-x compilers that i might have overlooked a pre-req package , as i could have installed it a long time ago for satisfying an old build.
Edit : Ohh supported MCU's
A snip from the command : avr-gcc --target-help Known MCU names: avr1 avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7 at90s1200 attiny11 attiny12 attiny15 attiny28 at90s2313 at90s2323 at90s2333 at90s2343 attiny22 attiny26 at90s4414 at90s4433 at90s4434 at90s8515 at90c8534 at90s8535 attiny13 attiny13a attiny2313 attiny24 attiny44 attiny84 attiny25 attiny45 attiny85 attiny261 attiny461 attiny861 attiny43u attiny48 attiny88 at86rf401 at43usb355 at76c711 atmega103 at43usb320 attiny167 at90usb82 at90usb162 atmega8 atmega48 atmega48p atmega88 atmega88p atmega8515 atmega8535 atmega8hva at90pwm1 at90pwm2 at90pwm2b at90pwm3 at90pwm3b atmega16 atmega161 atmega162 atmega163 atmega164p atmega165 atmega165p atmega168 atmega168p atmega169 atmega169p atmega32 atmega323 atmega324p atmega325 atmega325p atmega3250 atmega3250p atmega328p atmega329 atmega329p atmega3290 atmega3290p atmega406 atmega64 atmega640 atmega644 atmega644p atmega645 atmega649 atmega6450 atmega6490 atmega16hva at90can32 at90can64 at90pwm216 at90pwm316 atmega16u4 atmega32c1 atmega32m1 atmega32u4 atmega32u6 at90usb646 at90usb647 at94k atmega128 atmega1280 atmega1281 atmega1284p atmega128rfa1 at90can128 at90usb1286 at90usb1287 atmega2560 atmega2561 atxmega64a3 atxmega64a1 atxmega128a3 atxmega256a3 atxmega256a3b atxmega128a1
Edit: Also thanks to Ruud Vlaaming , i "snipped" the GMP/MPFR GCC inline trick from his FemtoOS toolchain build.
/Bingo