[Interest] about the various debug configure options on OS X

Thiago Macieira thiago.macieira at intel.com
Mon Jan 19 18:11:46 CET 2015


On Monday 19 January 2015 17:22:47 René J.V. Bertin wrote:
> > > -[no-]separate-debug-info
> > 
> > Put the debug information into separate files.
> 
> Do you happen to know what those separate files are? .dSym bundles on OS X,
> perhaps?

See mkspecs/features/unix/separate_debug_info.prf.

> > > What do I use if I want to have a release build with full optimisation,
> > > but that also allows to have at least line numbers on the Qt calls in a
> > > crash backtrace, preferably without having to keep the .o files around
> > > (= the full build tree)?> 
> > You want
> > 
> > -release -force-debug-info
> 
> You sure that shouldn't include -no-separate-debug-info (separate appears to
> be the default) and/or -no-strip?

Depends on what your tools require. But yes, you probably want -no-strip, 
given your questions so far.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list