When I built gcc for AVR I wasn't sure what the Right version of GCC to use was. I've been using a cross-compiling GCC 3.4.4 for another platform with success so I went with that. However, even with -morder1 and -fnew-ra, the code is not nearly as good as 4.0.1 for AVR. My main test file .o text (at the moment mostly poking bits and doing integer math) got 12% shorter with -Os (due in no small part to the fact that it's smarter with registers, resulting in less spilling, resulting in no need for the prolog/eplilog callouts).
Of course I've got nearly zero experience with both, so I welcome dissenting opinions, but I wanted to put the recommendation out there for any other newbies. -- Ben Jackson <[EMAIL PROTECTED]> http://www.ben.com/ _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list