This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc code bloat


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]