Re: Flag to undo --enable-frame-pointer builds on i386

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-08-16 10:01 +0200, Florian Weimer wrote:
> 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

Yes, you can't use -fomit-frame-pointer with -pg.  A single
-fomit-frame-pointer should work.

> Thanks,
> Florian
-- 
Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux