DWARF 2 or 4?

Christopher Meng cickumqt at gmail.com
Sun Jun 22 14:44:08 UTC 2014


On Sun, Jun 22, 2014 at 10:15 PM, Jakub Jelinek <jakub at redhat.com> wrote:
> 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

Thanks.

Yours sincerely,
Christopher Meng

Noob here.

http://cicku.me


More information about the devel mailing list