As Yann GOUY wrote: > so, is there a trick to compile C for the attiny84, such as giving > the -mmcu=avr2 option to avr-gcc and defining a _ATTINY84_ before > every inclusion of avr/io.h?
The trick is that you have to patch your binutils and GCC first, *before* compiling avr-libc. See this avrfreaks.net thread: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=42631 for someone who wrote this into a Linux script. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
