Re: CONFIG_TINY

Rob Landley
2002-11-04T21:03:16Z

On Monday 04 November 2002 19:51, Tom Rini wrote:
> On Mon, Nov 04, 2002 at 02:13:48AM +0000, Rob Landley wrote:

> > I've used -Os. I've compiled dozens and dozens of packages with -Os. It
> > has always saved at least a few bytes, I have yet to see it make
> > something larger. And in the benchmarks I've done, the smaller code
> > actually runs slightly faster. More of it fits in cache, you know.
>
> Then we don't we always use -Os?

I normally do, actually. Works For Me (tm). Dunno about all possible
architectures or all kernel versions, but then compiling WITHOUT -O2
apparently produces an unusable kernel due to some missing needed inlines,
so...

There's also a drive to "inline less stuff" underway, which I consider vaguely
related...

Rob

--
http://penguicon.sf.net - Terry Pratchett, Eric Raymond, Pete Abrams, Illiad,
CmdrTaco, liquid nitrogen ice cream, and caffienated jello. Well why not?