[NeXus-tech] library versioning by file name
Peterson, Peter F.
petersonpf at ornl.gov
Wed Feb 24 21:09:55 GMT 2010
I like the choice where libtool does most of the work (4:2:4 option). We may still want to change things in v4.3, but lets talk about that separately.
P^2
On Feb 24, 2010, at 4:01 PM, Pete R. Jemian wrote:
> As we say: "I have no dog in this fight."
> Sounds OK by me.
>
> On 2/24/2010 8:24 PM, freddie.akeroyd at stfc.ac.uk wrote:
>> These are the notes for using libtool to do it
>>
>> http://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
>>
>> http://www.gnu.org/software/libtool/manual/html_node/Release-numbers.html#Release-numbers
>>
>> we have currently been using a default -version-info of “0:0:0” (hence
>> libNeXus.so.0.0.0 and an internal soname of libNeXus.so.0)
>>
>> If I set the -version-info to “4:2:4” then we get a library name of
>> libNeXus.so.0.4.2 with an internal soname also of libNeXus.so.0 and
>> hence no break in previous application compatibility
>>
>> If we want to have libNeXus.so.4.2.0 then we need to do it by hand and
>> set an soname of libNeXus.so.4 (but leaving a libnexus.so.0 around so as
>> not to break compatibility). The advantage of libtool is that it will
>> handle windows and mac versioning for us, but at the expense of slightly
>> worse visible version numbers.
>>
>> What do people think
>>
>> BTW I have added a NXgetversion function
>>
>> Freddie
>>
>>
>> --
>> Scanned by iCritical.
>>
>>
>>
>>
>> _______________________________________________
>> NeXus-tech mailing list
>> NeXus-tech at nexusformat.org
>> http://lists.nexusformat.org/mailman/listinfo/nexus-tech
>
> --
> ----------------------------------------------------------
> Pete R. Jemian, Ph.D. <jemian at anl.gov>
> Beam line Controls and Data Acquisition, Group Leader
> Advanced Photon Source, Argonne National Laboratory
> Argonne, IL 60439 630 - 252 - 3189
> -----------------------------------------------------------
> Education is the one thing for which people
> are willing to pay yet not receive.
> -----------------------------------------------------------
> _______________________________________________
> NeXus-tech mailing list
> NeXus-tech at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus-tech
More information about the NeXus-tech
mailing list