1 |
James schrieb: |
2 |
> Hello, |
3 |
> |
4 |
> On an amd64, If I want to add -fomit-frame-pointer to a system's |
5 |
> CFLAGS setting, I can just add it and eventually all of the |
6 |
> executables will be recompile (willing to wait) |
7 |
> or do I have to rebuild system (all packages) or such to switch? |
8 |
> |
9 |
> |
10 |
> James |
11 |
> |
12 |
> |
13 |
As the wiki says |
14 |
|
15 |
SNIP |
16 |
|
17 |
-fomit-frame-pointer tells gcc to omit frame pointers, freeing up an |
18 |
additional register on the CPU. This is mainly useful on x86 as most |
19 |
other arches, like AMD64, have it on by default at -O2 or greater |
20 |
|
21 |
SNAP |
22 |
|
23 |
you do not recompile anything, if you had -O2 or greater before. |