[mythtv] Compiling with -Os is better than -O3

Isaac Richards ijr at case.edu
Tue Jan 17 17:43:33 UTC 2006


On Tuesday 17 January 2006 12:05, Steve Adeff wrote:
> On Tuesday 17 January 2006 07:41, Martin van Es wrote:
> > On 1/17/06, John P Poet <jppoet at gmail.com> wrote:
> > > Is there an easy way to configure Myth such that it builds with -Os
> > > instead of -O3?  I have been editing the configure script before
> > > running it, but was wondering if there is a better way.
> >
> > Inspired by your mail I tried the same (VIA Epia seems to fare better
> > with size opt instead of 03) and found that configure doesn't honour
> > optimize=small in some way, but you can easily edit
> > libs/libmyth/mythconfig.mak iirc and change the OPTFLAGS line in
> > whatever you need.
> >
> > Martin
>
> what does this change do? is it processor specific?

Optimizes for size.  Can be a win if more stuff fits into cache, etc.

Isaac


More information about the mythtv-dev mailing list