This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Flag to undo --enable-frame-pointer builds on i386
- From: Florian Weimer <fweimer at redhat dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 16 Aug 2017 10:01:45 +0200
- Subject: Flag to undo --enable-frame-pointer builds on i386
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 223F43F750
GCC for i386 can be configured with --enable-frame-pointer, which
changes the frame pointer from disabled to enabled by default.
Is there a command flag to undo that, changing the default back to a
default of frame pointer omission?
-fomit-frame-pointer is not that flag:
gcc: error: -pg and -fomit-frame-pointer are incompatible
Thanks,
Florian