• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: is it possible to find the target OS version from the binary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 25 Nov 2010 11:23:23 +0100

Le 25 nov. 2010 à 10:57, Jonas Maebe a écrit :

>
> On 25 Nov 2010, at 06:50, Shantonu Sen wrote:
>
>> Please file an enhancement request describing the situations you would use this information, and how reliable the information has to be (for instance, if some object files are built with a deployment version of 10.5 and some 10.6, what should the final binary record?)
>
> Is that information part of individual object files? I thought the -mmacosx-version-min parameter was passed on to the linker, but not used otherwise by gcc or the the assembler.
>

The compiler use this flag to define the __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED macro which may change the code generation.
The most obvious example is symbols that are conditionally defined weak.
But it also change which symbols are used when there is available variants ($UNIX2003, $NOCANCEL, etc.)

-- Jean-Daniel




 _______________________________________________
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

References: 
 >is it possible to find the target OS version from the binary? (From: Iceberg-Dev <email@hidden>)
 >Re: is it possible to find the target OS version from the binary? (From: Shantonu Sen <email@hidden>)
 >Re: is it possible to find the target OS version from the binary? (From: Iceberg-Dev <email@hidden>)
 >Re: is it possible to find the target OS version from the binary? (From: Shantonu Sen <email@hidden>)
 >Re: is it possible to find the target OS version from the binary? (From: Jonas Maebe <email@hidden>)

  • Prev by Date: Re: is it possible to find the target OS version from the binary?
  • Next by Date: capturing and printing timestamps
  • Previous by thread: Re: is it possible to find the target OS version from the binary?
  • Next by thread: Re: is it possible to find the target OS version from the binary?
  • Index(es):
    • Date
    • Thread