|
Boost-Build : |
From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2004-11-09 11:35:15
Andreas Huber <ahd6974-spamgroupstrap <at> yahoo.com> writes:
> My previous remark on this was wrong. This has nothing to do with Windows
(e.g.
> MinGW does not create PDBs) but more with MSVC. Whenever you specify
either /Zi
> or /ZI on the MSVC command line then a pdb is made. If you specify /Zd or /Z7
> or none of these 4 switches then no .pdb is made. Presumably the same is true
> for Intel on Windows.
Sorry, this is highly inaccurate again (I should really get more sleep)! The
above only applies if there is no linker involved (i.e. for static libraries).
The .pdb for an exe or a dll is generated by the linker, which does so whenever
you specify /DEBUG on the linker command line. With exactly which switch
(/Zi, /ZI, /Zd or /Z7) the .cpp files were compiled is of no concern here.
Regards,
Andreas (who hopes he's got it right this time)
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