I really don't want to have to type:
avr-gcc -mmcu=atmega328pb -B /home/packs/Atmel.ATmega_DFP.1.0.86/gcc/dev/atmega328pb/ -I /home/packs/Atmel.ATmega_DFP.1.0.86/include/ foo.c
each time I try to compile a file, nor do I want to clutter my makefile with paths that may or may not be consistent from system to system (and certainly won't be consistent between different OSes.)
(yes, I'm generally using CLI commands or generic Makefiles to build things, rather than Atmel Studio.)
Is there some sort of tool or command to automatically merge the lastest pack into the standard toolchain locations?
So far, I've only been bitten by io.h not recognizing a defined CPU, or by the relevant ioXXXX.h not being present, rather than the compiler not recognizing -mmcu=xxx
(yeah, yeah: version-control the toolchain as well as your own source code. I suppose that makes sense, sometimes. But it's certainly not practical for OSSW published on github/etc. And there are some things that I'm willing to trust to the vendor (having iom328pb.h be 'correct') until proven otherwise.)