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

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

Reply via email to