1 |
--- Richard Fish <bigfish@××××××××××.org> wrote: |
2 |
|
3 |
> maxim wexler wrote: |
4 |
> |
5 |
> >>CFLAGS="-O2 -march=pentium3 -pipe -mcpu=i686 |
6 |
> >>-fomit-frame-pointer" |
7 |
> >>CXXFLAGS="${CFLAGS}" |
8 |
> >> |
9 |
> >> |
10 |
> > |
11 |
> >there seems to be some controversy over the use of |
12 |
> >-fomit-frame-pointer. See the gentoo/doc, |
13 |
> > IIRC on USE flags. Just what does -fomit etc do? |
14 |
> > |
15 |
> > |
16 |
> |
17 |
> The "frame pointer" points to the variables used in |
18 |
> a "frame" (read: |
19 |
> function). It is useful to have a pointer to these |
20 |
> for debugging, but |
21 |
> not for much else. fomit-frame-pointer can (on some |
22 |
> platforms) allow |
23 |
> gcc to re-use that register for the function, and |
24 |
> maybe improve performance. |
25 |
> |
26 |
> There should not be any controversy over it. |
27 |
> According to the GCC |
28 |
> documentation, it is automatically enabled at all |
29 |
> optimization levels. |
30 |
|
31 |
automatically? So, you can leave it out of CFLAGS? |
32 |
|
33 |
> |
34 |
> -Richard |
35 |
> |
36 |
> -- |
37 |
> gentoo-user@g.o mailing list |
38 |
> |
39 |
> |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
__________________________________ |
45 |
Start your day with Yahoo! - Make it your home page! |
46 |
http://www.yahoo.com/r/hs |
47 |
-- |
48 |
gentoo-user@g.o mailing list |