Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-15 01:09:01


On Wednesday 14 September 2005 20:22, Phillip Seaver wrote:
> Vladimir Prus wrote:
> > Hmm.. why didn't you speak up before? It's the first time a user reports
> > precompiled header support as a showstopper; if I knew it before such
> > support
> > would probably be already implemented.
>
> Just a note in case you do start implementing this -- I tried an
> experiment yesterday and added <cflags>/YX ("Automatic Use of
> Precompiled Headers") to my build and it won't work if you do -j2. Both
> compiler processes try to open the .pch file and lock it. A couple of
> weeks ago, I played with .pdb file generation and ran into the same
> problem. I can create .pdb files as long as I don't use the -j option.

When we talked about it before, the general agreement was to never use
automatic pch, but instead use manual mode. MSVC users said it's much more
reliable.

> Something else that could be useful for speeding up builds would be
> multiple source files on the same command-line. I don't know how hard
> would be, though, since I haven't had time to learn the internals of
> boost.build yet (any pointers on how to start?). I know gcc and vc++
> allow you to specify multiple source files on the command-line.
> Unfortunately, gcc doesn't let you specify an output directory for the
> object files like vc++ does.

I need to think about it.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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