1
0

make-ccversions 954 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Compile a couple of Optiboot variations using several different compilers
  3. #
  4. # A list of compilers that are available.
  5. # This is, um, 4.3.3, 4.6.2, 4.8.1, 4.9.2, and 5.4.0
  6. #
  7. COMPS='
  8. /usr/local/CrossPack-AVR-20100115/bin/
  9. /usr/local/CrossPack-AVR-20121207/bin/
  10. /usr/local/CrossPack-AVR-48/bin/
  11. /usr/local/avr8-atmel-20160624/bin/
  12. /usr/local/avr8-Atmel-3.6.0.487/bin/
  13. '
  14. for c in $COMPS; do
  15. # Pretty print for readability
  16. echo
  17. echo
  18. echo ===========================================================
  19. echo Using compiler in $c
  20. $c/avr-gcc --version | head -1
  21. echo ===========================================================
  22. echo --------------- make GCCROOT=$c atmega328
  23. make GCCROOT=$c atmega328
  24. echo --------------- make GCCROOT=$c atmega1284
  25. make GCCROOT=$c atmega1284
  26. echo --------------- make GCCROOT=$c luminet
  27. make GCCROOT=$c luminet
  28. echo --------------- make GCCROOT=$c mega1280
  29. make GCCROOT=$c mega1280
  30. done