I've built an avr compiler with binutils-2.17, gcc-4.2.0, and avr-libc (cvs as of 2007-09-15)
at90s1200, attiny11, attiny12, and attiny28 targets give the following error when compiling for assembly (where XXXX is the file specific to the device): [...]avr/lib/crtXXXX.o: In function `__bad_interrupt': ../../../../crt1/gcrt1.S:124: undefined reference to `exit' exit.o is in lib/avr25/libc.a and adding -lgcc does make this go away, but I'm not entirely sure I trust that it's the right one. I'm aware that "XJMP main" was recently replaced with "XCALL main; XJMP exit" in gcrt1.S, could that be related? any opinions or thoughts would be appreciated. -- "To obtain, something of equal value must be lost." _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list