Boost logo

Boost-Build :

From: Patrick Frants (gclbb-jamboost_at_[hidden])
Date: 2002-10-22 12:08:20

Rene Rivera <grafik666_at_[hidden]> wrote in
> A few things...
> 1. When you say "libraries" what are you refering to, object archives
> (*.lib, *.a, etc), or shared objects (*.dll, *.so, etc)?

*.lib, *.a etc.

> 2. From your description... wouldn't you have the problem of
> "implementation defined" behaviour for any translation unit regardless
> of it being in an object file or library file of some sort?

Yes, but it happens that msvc, gcc etc. show behaviour that initializes the
statics within object files that are directly linked, but do not initialize
statics within object files that reside in libraries :-)

> 3. Given that you are attempting to link large numbers of object files
> directly (as I understand your original problems), why not use an
> object archive to collect some of those files? "lib" in Boost.Build
> terms.

And that is not possible unless some empty(?) initialization is called within
the object files that reside within libraries...



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at