DWARF 2 or 4?
Jakub Jelinek
jakub at redhat.com
Sun Jun 22 14:15:55 UTC 2014
On Sun, Jun 22, 2014 at 09:55:05PM +0800, Christopher Meng wrote:
> One of my package generates debuginfo by specifying -gdwarf-2 option
> in CFLAGS. As gcc 4.8 onwards DWARF4 is the default, is it still
> acceptable to use this option for Fedora now? Since DWARF4 provides
> many features demonstrated at [1], Should I remove that option?
Yes, please change it to just -g, unless there is a strong reason not to.
Jakub
More information about the devel
mailing list