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:
>
> http://lists.boost.org/boost-build/2009/01/21175.php
>
> The patch as actually checked in is at:
>
> https://svn.boost.org/trac/boost/changeset/55154
>
> 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:

        https://svn.boost.org/trac/boost/changeset/55155

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
        <bin-target-name>.pdb.

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?

Thanks,
Volodya


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