Fri 28 Sep 2007 01:48:35 AM UTC, original submission:
with binutils-2.17, gcc-4.2.0, and avr-libc (cvs as of 2007-09-15)
building from assembly for the at90s1200, attiny11, attiny12, and attiny28 targets fails with the following:
{avr-toolchain-root}/bin/avr-gcc -c -Wa,-gstabs -x assembler-with-cpp -mmcu=at90s1200 -o main.o main.s
{avr-toolchain-root}/bin/avr-gcc -O2 -mno-wrap -I. -fpack-struct -fshort-enums -funsigned-bitfields -funsigned-char -g -Wall -O2 -mmcu=at90s1200 -Wa,-gstabs -Wl,-Map,main.map -o main.elf main.o
{avr-toolchain-root}/bin/../lib/gcc/avr/4.2.0/../../../../avr/lib/crts1200.o: In function `__bad_interrupt':
../../../../crt1/gcrt1.S:124: undefined reference to `exit'
make: *** [main.elf] Error 1
the message for the other devices is the same excepting the object file, which is crttn11.o, crttn12.o, crttn15.o, and crttn28.o, respectively for attiny11, attiny12, and attiny28.
|