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
news:20021022105444-r01010800-3302bfc7-0860-0108_at_12.100.89.43:
> 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...

Patrick

 


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