I just ported a small MSP430F149 C project from the IAR compiler to the mspgcc 
one. With 2115 lines total in .c and .h files, and no floating point, using 
-O2 it compiles to

   text    data     bss     dec     hex 
   2974       6      82    3062     bf6

Hence ROM is 2980 bytes, RAM is 88 bytes.

By comparison, IAR produced 

3 184 bytes of CODE memory
     88 bytes of DATA memory 

Hence ROM is 4% larger under IAR, RAM is unchanged.
-- 
Rick Jenkins <r...@hartmantech.com>
Hartman Technica           http://www.hartmantech.com 
Phone +1 (403) 230-1987 voice & fax
221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5


Reply via email to