Gentoo Archives: gentoo-user

From: "J." <jyo.garcia@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default?
Date: Mon, 11 Jul 2016 20:52:12
Message-Id: 1468270318.3153.9.camel@gmail.com
In Reply to: [gentoo-user] Is "-fomit-frame-pointer" a gcc default? by waltdnes@waltdnes.org
1 El lun, 11-07-2016 a las 16:27 -0400, waltdnes@××××××××.org escribió:
2 >   I put it into CFLAGS/CCFLAGS years ago, and left it there.  During
3 > a
4 > discussion on the Pale Moon forum about build options, the opinion
5 > seems
6 > to be that "-fomit-frame-pointer" is now the default.  Is that
7 > correct?
8 > I'd like to simplify my CFLAGS/CCFLAGS both in Gentoo and the Pale
9 > Moon
10 > build process.
11 >
12 I think it is, at least here it is a default, you can find out by
13 running:
14 gcc -c -Q --help=optimizers
15
16 It gets activated with -O, and -O2 is the default in Gentoo, so it
17 should be.
18 From the gcc manual:
19 "-O also turns on -fomit-frame-pointer on machines where doing so does
20 not interfere with debugging."

Replies

Subject Author
Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default? Volker Armin Hemmann <volkerarmin@××××××××××.com>
Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default? Fernando Rodriguez <cyklonite@×××××.com>