RE: Version of dynamic library
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... At 12:20 +0530 11/4/08, anukriti_shrimal wrote: How can I get the version in such files? You have to parse the fat header to find the architecture you're interested in, and then look up the version number in that specific architecture. The fat header is not very complex; see <mach-o/fat.h> for the details. What's your high-level goal here? There are typically better ways to manage version numbering that to go grovelling around in the image. This email sent to site_archiver@lists.apple.com
participants (1)
-
Quinn