Boost logo

Boost-Build :

From: Gary Kratkin (gary_at_[hidden])
Date: 2008-01-31 13:01:50


"Johan Nilsson" <r.johan.nilsson_at_[hidden]> wrote in message
news:fnqfdu$2hr$1_at_ger.gmane.org...
>
> "Gary Kratkin" <gary_at_[hidden]> skrev i meddelandet
> news:fnp6ai$dhr$1_at_ger.gmane.org...
>> [I posted a similar message on boost.users without reply]
>>
>> I'm a bjam neophyte trying to generate .pdb files for the static library
>> targets of a complete boost build. My idea was to pass -Fd in the
>> relevant
>> actions blocks, something like this:
>
> Did you try something like:
>
> bjam debug-symbols=on debug-store=database
>
> / Johan

Thanks Johan,

debug-store=database worked, where <debug-store>database didn't. That's an
improvement.

The problem remains that for static libs, /Fd isn't specified on the compile
command. The result is a vc90.pdb placed in the directory from which the
build command is executed. For DLL targets, when /DEBUG is specified the
linker's default behavior is to create a PDB in the output directory as
dll-base-name.pdb. For LIB targets the linker does no such thing, so it's
necessary to create the PDB from the compiler with the correct name. My
problem is figuring out the base name of the LIB target within the
actions-compile blocks.

Gary


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