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" --

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?


[*] with the caveat that they are not put into the stage directory:
   "bjam and msvc PDB files destination directory?" --

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