Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to have linker find PDB files?
From: Nathan Paul (nathanjpaul_at_[hidden])
Date: 2009-06-08 18:39:08


My PDB files are in the same directory as the lib file.

On Mon, 08 Jun 2009 15:15:12 -0500, Michael Weber
<michael.weber_at_[hidden]> wrote:

> On Sun, Jun 7, 2009 at 9:07 AM, Nathan Paul <nathanjpaul_at_[hidden]>
> wrote:
>>
>> LNK4099 is described at
>> http://msdn.microsoft.com/en-us/library/b7whw3f3.aspx. It's bad because
>> it means the object is linked as if there is no debug information. To
>> make this warning go away, the PDB files would have to be in the
>> linker's search path, but I don't know how to tell the linker that
>> information.
>>
>> Nathan
>
> There is no search path for PDB files -- the reference to the PDB is
> in the LIB file itself. The linker will find libmylib.pdb if it is
> placed in the same directory as libmylib.lib.
>
> The reference from Alexey,
> http://lists.boost.org/boost-build/2009/04/21691.php, documents a
> change you can make to msvc.jam in order to make boost.build generate
> PDB files with the same name as the library, when using the Zi option
> (<debug-store>database), rather than the default vc90.pdb name.
>
> Michael
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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