[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PROPOSAL: libtool archive (`*.la) files in `-dev' packages



Hi,

On  5 May, Marcelo E. Magallon wrote:
 > [43 pollux:~] egrep '(library_names|revision|current|age)=' \
 > 	/usr/lib/libEterm.la  /usr/lib/libgltt.la
 > /usr/lib/libEterm.la:library_names='libEterm.so.0.8.7 libEterm.so.0 libEterm.so'
 > /usr/lib/libEterm.la:current=8
 > /usr/lib/libEterm.la:age=8
 > /usr/lib/libEterm.la:revision=7
 > 
 > in libEterm's case, the 0 in libEterm.so.0.8.7 comes from current - age, the
 > 8 is age and the 7 is revision.  IIRC, libtool uses different rules for
 > different operating systems.

Right.  Libtool supports several versioning schemes to achieve the same
behavior on different platforms.  From a cursory pass through libtool's
ltconfig script it supports the following versioning schemes:

	none
	freebsd
	linux
	sunos
	irix
	osf
	windows

Note that these are types are not exclusive to their namesakes.  For
example, libtool on HPUX uses its sunos versioning scheme,
libtool on Solaris uses the linux versioning scheme (interestingly
enough), etc.

-Ossama
-- 
Ossama Othman <othman@cs.wustl.edu>
Center for Distributed Object Computing, Washington University, St. Louis
58 60 1A E8 7A 66 F4 44  74 9F 3C D4 EF BF 35 88  1024/8A04D15D 1998/08/26


Reply to: