--- Richard Fish <[EMAIL PROTECTED]> wrote:

> maxim wexler wrote:
> 
> >>CFLAGS="-O2 -march=pentium3 -pipe -mcpu=i686
> >>-fomit-frame-pointer"
> >>CXXFLAGS="${CFLAGS}"
> >>    
> >>
> >
> >there seems to be some controversy over the use of
> >-fomit-frame-pointer. See the gentoo/doc,
> > IIRC on USE flags. Just what does -fomit etc do?
> >  
> >
> 
> The "frame pointer" points to the variables used in
> a "frame" (read: 
> function).  It is useful to have a pointer to these
> for debugging, but 
> not for much else.  fomit-frame-pointer can (on some
> platforms) allow 
> gcc to re-use that register for the function, and
> maybe improve performance.
> 
> There should not be any controversy over it. 
> According to the GCC 
> documentation, it is automatically enabled at all
> optimization levels.

automatically? So, you can leave it out of CFLAGS?

> 
> -Richard
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 



                
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
-- 
gentoo-user@gentoo.org mailing list

Reply via email to