Subject: Re: [Boost-build] How to have linker find PDB files?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-06-04 02:18:46
On Saturday 30 May 2009 22:12:36 Nathan Paul wrote:
> Hi all,
> I have a prebuilt shared library built with the /Zi option using msvc. This
> generates two PDB files. I setup the library in the site-config.jam file as
> lib mylib
> : # No dependencies
> : <variant>debug:<file>$(MYLIB_DEBUG_LIB)/libmylib.lib
> : # No default build
> : <include>$(MYLIB_INCLUDE)
> When I build my project using this library I get linker warnings LNK4099.
> I'd like to be able to tell the linker about the location of the PDB files,
> but I don't know how. Although I can rebuild the prebuilt library with the
> /Z7 option instead of /Zi, I'd like to avoid it.
I miss some context here. What is linker warning 4099, what does it say, why
is it bad, and, most importantly -- what options to the linker should be
passed to make this warning go away?
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