[linux-elitists] Nobody's favorite language? C++ and free software

Alan DuBoff aland@SoftOrchestra.com
Thu Mar 27 22:08:24 PST 2003


On Thursday 27 March 2003 16:23, Karsten M. Self wrote:
> on Wed, Mar 26, 2003 at 02:53:14PM -0800, Nick Moffitt (nick@zork.net) 
wrote:
> > begin  Aaron Lehmann  quotation:
> > > If you are comparing sizes, you should use gcc's -Os option, which
> > > optimizes for size.
> > 
> > 	-Os gained the LNX-BBC project a 2% increase in available
> > space on the CD.  It's compressed data, so that's likely 3%-4% real
> > data.
> 
> That statement bears validation.  Compression is nonadditive.  If the
> optimization is independent of underlying data redundancy in the
> compiled binary, I could see this being the case.  If it's not, you may
> only be getting 2% space savings.

Karsten,

FWIW, my case the size is exactly the same by using -O3 or -Os, go figure.;-)

-- 

Alan DuBoff
Software Orchestration, Inc.
GPG: 1024D/B7A9EBEE 5E00 57CD 5336 5E0B 288B 4126 0D49 0D99 B7A9 EBEE




More information about the linux-elitists mailing list