Re: Shared library versioning

2011-06-14 Thread Mike Frysinger
On Tue, Jun 14, 2011 at 12:26, Lasse Collin wrote: > On 2011-06-14 Bob Friesenhahn wrote: >> On Tue, 14 Jun 2011, Lasse Collin wrote: >> > Please read the section "Understanding shared libraries >> > number rules" (it's short): >> > >> >    http://www.openbsd.org/faq/ports/specialtopics.html >> >>

Re: Shared library versioning

2011-06-14 Thread Peter O'Gorman
On 06/14/2011 11:26 AM, Lasse Collin wrote: On 2011-06-14 Bob Friesenhahn wrote: On Tue, 14 Jun 2011, Lasse Collin wrote: Please read the section "Understanding shared libraries number rules" (it's short): http://www.openbsd.org/faq/ports/specialtopics.html If this web page text is corre

Re: Shared library versioning

2011-06-14 Thread Lasse Collin
On 2011-06-14 Bob Friesenhahn wrote: > On Tue, 14 Jun 2011, Lasse Collin wrote: > > Please read the section "Understanding shared libraries > > number rules" (it's short): > > > >http://www.openbsd.org/faq/ports/specialtopics.html > > If this web page text is correct, then I agree that libtoo

Re: Shared library versioning

2011-06-14 Thread Bob Friesenhahn
On Tue, 14 Jun 2011, Lasse Collin wrote: If I add a new public function to a library and don't modify anything else, I should do ++current, ++age, revision=0, right? For example, if the previous version of the library uses current:revision:age = 1:3:0, adding a new function would make it 2:0:1.

Re: Shared library versioning

2011-06-14 Thread Lasse Collin
Thanks for your reply. Unfortunately I think that either you missed my point or I misunderstood something. I try to explain my thoughts better in this email. On 2011-06-14 Bob Friesenhahn wrote: > Libtool can emulate Linux in how it does the numbering but it is not > able to change how an OS use