Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to have linker find PDB files?
From: Michael Weber (michael.weber_at_[hidden])
Date: 2009-06-08 21:38:16

On Mon, Jun 8, 2009 at 3:39 PM, Nathan Paul<nathanjpaul_at_[hidden]> wrote:
> My PDB files are in the same directory as the lib file.

What are your pdb files named -- vc90.pdb or libmylib.pdb? If you are
generating the default-named PDB file for your library, vc90.pdb, then
when the linker finds a different vc90.pdb first (the one generated
for your target executable's source), it may stop looking for others
when linking your exe.

I do know that if you use <debug-store>database (i.e., /Zi) for all
components (your library and your executable), together with the
changes document in, so that you
generate PDB files named uniquely for each build artifact, then msvc
with successfully finds all required PDB files during link
and generates a useful pdb for my final target binary. I use this
configuration every day.


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