$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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