Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-09-09 05:54:45

On Monday 09 September 2002 12:03, Vladimir Prus wrote:
> Toon Knapen wrote:
> >Update of /cvsroot/boost/boost/tools/build
> >In directory usw-pr-cvs1:/tmp/cvs-serv23675
> >
> >Modified Files:
> > features.jam
> >Log Message:
> >gprof needs the debug-symbols to produce the call-graph
> Hi Toon,
> are you sure debug-symbols are really needed? I've used profing without
> debug symbols, only by not stripping the resuling
> binary. That is, everything works when I comment out the line

OK, but in release mode for instance, the <debug-symbols>off resolves to the
'-s' option which results in the same executable as when it's stripped. So
just saying debug symbols need to be on when profiling solves this.
Maybe a solution is to define <debug-symbols> as neither being on or off but
I'm not sure if this can be done , e.g. like this :

variant profile : release :


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at