Step 4. Download and install avr-libc (an essential C library for AVR chips)
http://www.ladyada.net/learn/avr/setup-mac.html
Steps 1-3 work fine but the make of avr-libc fails with:
Code: Select all
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s: Assembler messages:
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:73: Error: illegal opcode elpm for mcu avrtiny
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:75: Error: register not supported
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:76: Error: register not supported
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:87: Error: illegal opcode elpm for mcu avrtiny
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:89: Error: register not supported
/var/folders/gw/n87j5q9x51772f2xq4mw_jch0000gn/T//cc9Y1dte.s:90: Error: register not supported
make[5]: *** [asctime_r.o] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2