On 27.01.2012 01:40, William "Chops" Westfield wrote:
> (reports are that 4.5.2 produced smaller code than 4.3.2)

Hmmm...

defiant joe [~/tmp]: avr-gcc -dumpversion
4.3.4
defiant joe [~/tmp]: avr-gcc  -ggdb -Os -c -mmcu=atmega328p
-mshort-calls foo.c
defiant joe [~/tmp]: avr-size foo.o
   text    data     bss     dec     hex filename
     54       0       0      54      36 foo.o
defiant joe [~/tmp]: avr-gcc  -ggdb -Os -c -mmcu=atmega328p
-mshort-calls -DNAKED foo.c
defiant joe [~/tmp]: avr-size foo.o
   text    data     bss     dec     hex filename
     52       0       0      52      34 foo.o

Best regards,
Joe

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to