Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam - no strip option
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-10-25 04:30:32


On Thursday 22 October 2009 Anthony Foglia wrote:

> Anant Rao wrote:
> > If I build a release version on linux using gcc, the symbols are all stripped out because it uses the '--strip-all' linker option.
> > Is there a way to disable this option? If so, how to do it?
>
> Try setting the debug-symbol feature to on. So in your Jamroot:
>
> project
> : requirements
> <debug-symbols>on
> ;

That will actually add a pile of debug information. It probably is a better idea
to avoid --strip-all, since it's rarely done by other projects, even in release
configuration. Comments?

- Volodya


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