From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-07-06 12:11:13
Phillip Seaver wrote:
> Rene Rivera wrote:
>> Phillip Seaver wrote:
>>> There was some discussion a while ago about compiling multiple source
>>> files with one compiler invocation --
>>> Has anyone looked at that? I know that for some of my libraries and
>>> executables, I'd get a substantial speed increase over separate calls.
>>> I'd like to do it myself, but I haven't had time to dig into boost-build
>>> to really understand how it works.
>> There is a basic issue with some compilers, msvc at least, that prevents
>> using such a feature... They don't have a way of specifying where the
>> object output (some neither globally nor individually) goes and hence
>> you end up with a bunch of .obj files in whatever directory you happen
>> to compile from.
> This doesn't work?
>>From later in the same thread:
>> /Fo "SomeDir" works fine but SomeDir string should end with '/' or
>> '\' to specify directory
That's what I get for not keeping everything I say in my head :-( ...I
should try using this for the bjam.exe build to see how/if it works.
On the other question from that thread though... I don't know how to get
BBv2 to pass multiple source files.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
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