On 2012-7-9 16:45 , Bryan Ischo wrote: > - I'm still not clear on how I should handle versioning of my library. I'm > loathe to add special linker flags for setting minor version and > compatibility version, and am just relying on file naming with a major > version included to do the trick.
The usual advice here is "use libtool", since it knows how to do all the platform-specific things. You do need to maintain versioning discipline no matter what platform you're on, or clients of your library will have compatibility problems. The basic rules are (using Apple's terminology) that you increase the current_version whenever you make any change to the library, increase the compatibility_version to match the current_version whenever you add new symbols, and change the major version (aka the soname) when you remove or significantly alter the semantics of one or more symbols. - Josh _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo/macports-dev
