[Interest] building Qt 5.9 on Linux - clang or GCC?
Thiago Macieira
thiago.macieira at intel.com
Wed Dec 20 17:59:25 CET 2017
On quarta-feira, 20 de dezembro de 2017 08:32:49 PST René J. V. Bertin wrote:
> Talking about keeping the binaries compact: is there a way to build or strip
> specific components from most debug information, let's say except that
> which is needed to get backtraces with line numbers (and function names)?
Not with the standard tools.
A Qt release build builds with -g1 instead of -g, which should be sufficient
for backtraces but not for debugging.
But you can't strip the info once created. So you will have big debug symbols
if you build with either -debug or with -release -force-debug-info.
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.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list