Re: is it possible to find the target OS version from the binary?
Re: is it possible to find the target OS version from the binary?
- Subject: Re: is it possible to find the target OS version from the binary?
- From: Shantonu Sen <email@hidden>
- Date: Mon, 22 Nov 2010 17:00:53 -0800
Not really. What are you trying to do?
If you build against the 10.6 sdk but use -mmacosx-version-min=10.4, the load commands will record the 10.6 dylib info.
Sent from my iPhone
On Nov 22, 2010, at 3:57 PM, Iceberg-Dev <email@hidden> wrote:
> Stupid question:
> ----------------
>
> Is it possible to reliably find which major OS version was targeted by a Xcode project from the built executable?
>
> Are there some hints in the mach headers? Or can it be done using the versions of the linked libraries/frameworks?
>
>
> _______________________________________________
> 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
_______________________________________________
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