Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-10-22 13:00:26


[2002-10-22] Patrick Frants wrote:

>Rene Rivera <grafik666_at_[hidden]> wrote in
>news:20021022105444-r01010800-3302bfc7-0860-0108_at_12.100.89.43:
>> A few things...

[snip]
Understood ;-)

>> 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...

If you really want to prevent relying on implementation defined behaviour,
which is what you are doing, there is a rather easy (relatively speaking)
way around the problem...

1. Take all your source code and preprocess it.
2. Concatenate all the preprocessed code together.
3. And compile that directly into a single object file that is the
application.

And it has the benefit that you are no longer limited by the comman line
limitations any more.

;-]

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq - Grafik666_at_AIM - Grafik_at_[hidden]

 


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