[Interest] building Qt 5.9 on Linux - clang or GCC?

Konstantin Tokarev annulen at yandex.ru
Wed Dec 20 18:32:16 CET 2017



20.12.2017, 20:17, "René J. V. Bertin" <rjvbertin at gmail.com>:
> Thiago Macieira wrote:
>
>>  A Qt release build builds with -g1 instead of -g, which should be sufficient
>>  for backtraces but not for debugging.
>
> That's interesting, the option doesn't show up in g++ --verbose --help so I
> wasn't aware it existed. 

With GCC, you should better read man.
With Clang you should better read --help :)

>There's also -gz I see now, which could be useful for those components for
which I do want more complete debug info.

It will increase compilation time and may cause compatiility problems

> I don't know if dwz converts to that format

No it doesn't

> but it certainly seems effective (so thanks for the
> tip, Konstantin!).
>
>>  You need a specialised stripper tool. I remember some colleagues had proposed
>>  to do that for Clear Linux, but I don't know if they actually accomplished it.
>>  I can ask in the new year, if you remind me.
>
> Great, I'll try to remember!

FWIW, normal strip utility can remove data per-symbol

>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Regards,
Konstantin



More information about the Interest mailing list