Subject: Re: [Boost-build] [gcc] separate debug infos
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2009-01-26 03:52:49
"Juergen Hunold" <juergen.hunold_at_[hidden]> wrote in message
>I've stumpled across a trick used by Qt's qmake to reduce the size of
>library and executables. Qt's configure --help >calls this
>"-separate-debug-info .... Strip debug information into a separate .debug
>This proof of concept works (for me), but now comes the hard part:
>I've got no idea how to _really_ incorporate this into the current gcc
>toolchain. The way would be:
>- introduce a new feature "separate-debug-info : off on ;"
The msvc toolset has the <debug-store> feature with "database" being one of
the available options (which stores debug info into a program database / pdb
file). How about streamlining your suggestion with this (or the opposite way
>- if this feature is "on", add a post link step which will execute steps
>- introduce a new feature "install-separate-debug-info" to the "install"
>rule (needed if you want to have everything >ready for packaging etc.).
With proper toolset(?) support, perhaps using <install-type>DBGSYM with the
install rule would be sufficient?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk