Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-14 10:52:51


Actually, I could use a little more help from someone with VC expertise.

* Given the information below, what approach would be best for boost?
* I'm trying to get a picture of what happens: When using -Zi or -ZI, is
it expected that there's a single .pdb file used for all of the object
files? Is that the same one that gets generated by the linker (IOW, is
this a process of incremental updates to a single file?)

I am willing to add new properties to Boost.Build if we're convinced
it's the right thing to do. For example, we might want a <mode>user or
<mode>developer setting where the latter favors incremental rebuilds.

Thanks,
Dave

----- Original Message -----
From: "Jason Shirk" <jasonsh_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, February 26, 2002 6:41 PM
Subject: RE: [boost] Jam and PDB files

> Multiple tools produce a PDB file. The compiler will produce one when
> the switch -Zi or -ZI is used.
>
> The linker will produce a PDB if the /debug switch is used, regardless
> of whether the compiler generated a PDB, /Z7 was used, or no debug
info
> was generated.
>
> The librarian (lib.exe) does not produce a PDB, so the compiler
> generated PDB must be available when invoking the linker and including
> the lib.
>
> Ideally, the compiler generated PDB and linker generated PDB should be
> the same file, but it isn't a big deal if that's not possible. Just
> make sure you the linker generated PDB is available while debugging.
>
> Compiling w/ /Z7 isn't good or bad necessarily. It avoids the PDB
until
> link time, which is good. It is faster for full builds, but slower
for
> incremental builds. Also, it would be possible to have MP builds if
you
> use /Z7, but not w/ /Zi or /ZI since the PDB interface does not
support
> multiple writers.
>
> Jason Shirk
> VC++ Compiler Team

----- Original Message -----
From: "hugo_duncan" <hugo_duncan_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Thursday, March 14, 2002 9:00 AM
Subject: [jamboost] PDB problems with MSVC 6/7

> Hi,
>
> I am building a project with boost.build and want to build with both
msvc6 and msvc7.
>
> At present I am having problems when linking, as the pdb files are
incompatable between the versions.
>
> The simplest way around this would probably have clean remove the pdb
files. I seem unable to implement this though (I have tried various
things in msvc-tools.jam, but none seem to work for me). I notice that
the CMD files are also not removed by clean.
>
> Can anyone give me pointers on how to clean the pdb files ?
>
> I guess another way would be to have a "clean" target that removed the
directory tree for the specified build altogether.
>
> Hugo
>
>
> ------------------------ Yahoo! Groups
Sponsor ---------------------~-->
> Tiny Wireless Camera under $80!
> Order Now! FREE VCR Commander!
> Click Here - Only 1 Day Left!
> http://us.click.yahoo.com/nuyOHD/7.PDAA/yigFAA/z3wwlB/TM
> ---------------------------------------------------------------------~
->
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>

 


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