Gentoo Archives: gentoo-user

From: Justin <justin@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] -fomit-frame-pointer switch
Date: Thu, 01 May 2008 17:28:43
Message-Id: 4819FDC3.9040206@j-schmitz.net
In Reply to: [gentoo-user] -fomit-frame-pointer switch by James
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.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: -fomit-frame-pointer switch James <wireless@×××××××××××.com>