Boost logo

Boost :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2002-03-02 17:03:37


On 2002-03-02 at 05:00 PM, david.abrahams_at_[hidden] (David Abrahams) wrote:

>
>----- Original Message -----
>From: "Rene Rivera" <grafik666_at_[hidden]>
>>
>> That seems fine. I also just added "BOOST_VERSION" to the top level
>Jamrules,
>> so it should be useable without specifying it in the command line.
>
>How does this get updated?

Manually? If there's another way that would be cool :-) How does the one in
"version.hpp" get updated?

>> > actions gcc-dllwrap bind NEEDLIBS
>>
>> There is one problem with this solution... it will tag any library
>created
>> regardless of wether it's in Boost or not. If you happen to use the
>> Boost.Build system for something other than Boost, which I do, the
>above would
>> not be "a good thing".
>>
>> The best way is to specify the above in the dll target spec itself
>with
>> <linkflags>, which is what Dave was refering to above. It might look
>like:
>>
>> dll test : test.cpp
>> : <gcc><linkflags>"-Wl,-soname -Wl,libtest.so.$(BOOST_VERSION)"
>> : debug release ;
>>
>>
>> But even that seems somewhat cumbersome.
>
>Good point; I leave solutions in your hands.
>
>> Would it seem reasonable to add a <dllversion> feature? And possibly a
>> <dllname> one also?
>
>I understand the first one, but not the 2nd.

Just in case one wanted to override the default of using the filename as the
soname. Somewhat frivolous, maybe?

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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk