As Bernhard Kuemel wrote: > With 'uint32_t total=0;' binary file size is 314 bytes. > With 'unsigned long long total;' or 'uint64_t total;' binary file size > is 7974 bytes :(.
This is nothing to be discussed on avr-libc-dev, as it's simply a matter of the compiler. So better use avr-gcc-list instead. However, make sure you're using a recent compiler version! GCC 4.7.2 produces: $ avr-size foo.elf text data bss dec hex filename 586 0 0 586 24a foo.elf vs: $ avr-size foo.elf text data bss dec hex filename 368 0 0 368 170 foo.elf (the latter is the 32-bit version) -- 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 AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev