Boost logo

Boost-Build :

Subject: [Boost-build] Generate msvc PDB files for static libs?
From: Martin B. (0xCDCDCDCD_at_[hidden])
Date: 2011-11-03 07:33:49


In this old thread:
   "Creating MSVC .pdb files for static libraries" --
   http://lists.boost.org/boost-build/2008/01/18379.php

it seems to be established that you cannot create usable pdb files
(correctly named) for static boost libs out of the box with bjam.

That is, `debug-symbols=on debug-store=database`*does* work correctly
for PDBs [*] for DLL libraries, but it *does not* work for static
("libboost...lib") libraries.

I have found that for static libraries, one can always specify
`debug-store=object` to directly embed the symbol information into the
.lib file, but for uniformity it might be preferable to have the symbols
stored in properly named PDB files.

Is this summary still accurate? Are there any plans to fix the
suboptimal handling of debugging symbols for out-of-the-box boost builds
on msvc?

cheers,
Martin

[*] with the caveat that they are not put into the stage directory:
   "bjam and msvc PDB files destination directory?" --
   http://lists.boost.org/boost-build/2010/11/24272.php)


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