|
Boost-Build : |
From: Puverle, Tomas (IT) (Tomas.Puverle_at_[hidden])
Date: 2004-09-18 17:20:11
Hi,
In our environment, we build all shared objects with all external
references unresolved, so that a .so A never depends on a shared library
B. The symbols get only resolved once the final executable is linked.
This causes us problems with boost when building the regression tests,
as the final Jam link rule adds all additional libraries *before* the
final libboost_*.
So the Jam link rule will perform something like this:
ld ... <executable> <stl and support libs> <libboost_*>
when what we really need is this:
ld ... <executable> <libboost_*> <stl and support libs>
That way, we end up with unresolved symbols to our STL and others.
Is there any way in which this requirement could be incorporated into
Boost.Build? I guess a simple solution would be to have another
variable called e.g. ADDITIONAL_LIBS_LAST which would be passed as the
last thing on linker line in the link rule.
OS: Red Hat Enterprise Linux 2.1 & 3.0
HW: various
Compiler: gcc 3.2.3-20
STL: RogueWave 6.0
Boost: 1.31.0
Thanks!
Tom
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
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