Managing multiple avr-gcc versions

Hi - I’m building my first Shruthi which I plan to mod the firmware a bit. I’ve seen the warnings to use avr-gcc 4.3.3 to avoid any issues with binary size. For those of you that also use newer versions of avr-gcc, do you have any suggestions on how to work between 2 or more versions of the complier for different projects? For context, I’ll be doing this on OSX.


You can install them in different directories, for example /usr/local/CrossPack-AVR-X.X and /usr/local/CrossPack-AVR-X.Y, then overwrite AVRLIB_TOOLS_PATH in each’s project makefile.

1 Like