Massimiliano,
I downloaded your test project and got this result:
bob@tech42:/mnt/localdata/Downloads/test_avr-ld> avr-gcc test.c
In file included from
/opt/avr-libc-1.7.0/bin/../lib/gcc/avr/4.3.4/../../../../avr/include/avr/pgmspace.h:88,
from test.c:2:
/opt/avr-libc-1.7.0/bin/../lib/gcc/avr/4.3.4/../../../../avr/include/avr/io.h:422:6:
warning: #warning "device type not defined"
/opt/avr-libc-1.7.0/bin/../lib/gcc/avr/4.3.4/../../../../avr/bin/ld:
a.out section `.text' will not fit in region `text'
/opt/avr-libc-1.7.0/bin/../lib/gcc/avr/4.3.4/../../../../avr/bin/ld:
region `text' overflowed by 23638 bytes
Which seems OK to me.
Using:
binutils 2.20
avr-gcc 4.3.4
avr-libc 1.7.0
Regards,
Bob
_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat