Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-10-05 23:23:37


[2002-10-05] David Abrahams wrote:
>From: "Rene Rivera" <grafik666_at_[hidden]>
>> The only problem with this is that then using the boos_python target from
>> other places, like the test targets, will set the name incorrectly
>because
>> in those circumstances it needs the direct name ("libboost_python.so").
>
>Right. And that's no good either. The tests need to work, of course ;-)

:-(

Have you attempted to see if there's anything the compiler can do to "fix"
the problem? I looked at the xlc docs and my usual source for shared liking
docs (http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html) and here are
some things to try...

The xlc docs indicate there's an enabling runtime binding option, which is
what Linux-gcc does to enable the reverse binding you need. The option is
"-brtl".

The sharedlib.html doc says that one should specify "-bM:SRE" for creating a
shared library. No sure what it does, as I could not find docs on it.

And last, the xlc docs say that to create a "dynamic library" to use the
"-G" option. As we don't specify this, yet the *.so libraries seem to work
for you it seems a bit baffling how the current vacpp toolset works.

Other than that the only option left is for us to support using the <tag>
requirements in regular targets. I'll continue investigating how that might
affect other things.

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