gcc code bloat

Aaron J. Grier aaron@frye.com
Tue Dec 5 16:42:00 GMT 2000


On Tue, Dec 05, 2000 at 03:20:08PM -0700, andy@softbookpress.com wrote:

> I see a rather significant size increase when compiling  my C++ code
> with gcc ( g++ to be exact)  even with -02 optimization level vs
> MetroWerks C++ on the Mac Is there anything I can do about it ?

tried -Os yet?  make sure you are sizing the actual executable code, and
not the unstripped executable, too...  the output of "size" on both the
metrowerks and gnu executables would be illustrative here.

-- 
  Aaron J. Grier   |    Frye Electronics, Tigard, OR   |   aaron@frye.com
    "Calling anything from the x86 world a 'masterpiece' seems, to me,
     like putting a gold star on the best-looking fingerpainting in the
     special-needs Kindergarten class."  --  Wakko Warner

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list