Re: libtool -version-info
Re: libtool -version-info
- Subject: Re: libtool -version-info
- From: "Peter O'Gorman" <email@hidden>
- Date: Tue, 19 Apr 2005 13:56:44 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jack Howarth wrote:
| Can anyone explain exactly how libtool sets the compatibility level
| of a library under MacOS X? In building freeglut 2.2.0 under Panther,
| I noticed that while a libfreeglut.3.8.dylib is created, this library
| has a compatibility version of 12.0.0. The Makefile.am and Makefile.in files
| both have a line with...
|
| lib@LIBRARY@_la_LDFLAGS = -version-info 11:0:8
|
| According to the documentation at...
|
| http://www.delorie.com/gnu/docs/libtool/libtool_34.html
|
| While I can see how libtool might get an so versioning of 3.8 from
| those numbers...
|
| current - age = 11 -8 = 3
|
| Does anyone know how the .so versioning is supposed to relate to the
| current, revision and age fields of -version-info?
Note that your email is about gnu libtool, you kind of need to be specific :)
On darwin:
compatibility version is 1+CURRENT
current version is 1+CURRENT.REVISION
install name is 'libfoo.CURRENT-AGE.dylib (usually).
Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQmSPjLiDAg3OZTLPAQLyRgP/bEBH4rolIQ4lkurad5x1GORcyU+mXqoU
ZKSp98Gt/6gsTjs3ghEacYi+MrYnEGe7oWVDpLAjCe9kPULntKhyXKh2KG1bhHmt
maEF9FTexo/JimANM5AHK/xCs5QZEBet/KZSuZjRtLnE1F0geLrRQtm14OJLtpRb
UjdTIJu87Co=
=menM
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden