Boost logo

Boost-Build :

Subject: [Boost-build] Adding debuglink information
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2010-02-23 13:39:02

We're running with the Boost 1.40 package that comes with Ubuntu and
have installed the debug symbol packages, but are still unable to debug
under gdb.

I believe this is because the compiled executables should have some
.gnu_debuglink information containing the debug symbol filename, but
don't. I see no way to add this information via the gcc/g++ command,
but I can add it via objcopy.

So first: Am I right? And second: How do I do this in boost-build? It
doesn't call objcopy by default, nor does it seem any of the default
features would do it.

Anthony Foglia
Princeton Consultants
(609) 987-8787 x233

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