Boost logo

Boost-Build :

Subject: [Boost-build] PDB support, pt. 2
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-07-25 05:29:46

On Saturday 25 July 2009 Vladimir Prus wrote:

> After an embrassingly long delay, I've checked in this patch from
> Alexey Pakhunov to make Boost.Build aware of .pdb files:
> The patch as actually checked in is at:
> This should enable installing of .pdb files. There's another
> patch from Michael Weber to improve <debug-store>database; I'll
> get to that now.

It's now in:

Michael, for my own education, can you clarify a couple of points.
You have said:

        1. When compiling source for an executable target, the compile-c-c++
        rule intializes PDB_NAME on a per-source basis. i.e., foo.cpp gets
        foo.pdb, and the compile-c-c++ action uses it with the optional
        PDB_CFLAG. The linker automatically collects them together into

What will happen if that /Fd is not passed? Will the compiler still
produce per-object-file .pdb files and then create <bin-target-name>.pdb?
Or it will put everything into vc.pdb? If the latter, does putting
intermediate debug info into separate .pdb files affect compilation
time or disk space requirements?

Also, do msvc users think it's reasonable to have debug-store=database
by default now?


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