Re: How to get warnings for missing methods in older SDKs
Re: How to get warnings for missing methods in older SDKs
- Subject: Re: How to get warnings for missing methods in older SDKs
- From: Ken Heglund <email@hidden>
- Date: Fri, 25 Mar 2011 16:58:49 -0700
On Mar 25, 2011, at 2:32 PM, B.J. Buchalter wrote:
>
> On Mar 25, 2011, at 4:59 PM, Chris Hanson wrote:
>
>> On Mar 25, 2011, at 1:47 PM, B.J. Buchalter wrote:
>>
>>> On Mar 25, 2011, at 3:34 PM, Chris Hanson wrote:
>>>
>>>> You can target Mac OS X 10.5 using the Mac OS X 10.6 SDK and a Mac OS X Deployment Target of 10.5.
>>>
>>> Unfortunately, that does not work for those of us who need to develop IOKit drivers; you need to use the SDK for the oldest OS you need to support for binary compatibility.
>>
>> Is this something you’ve seen documented somewhere, or were told?
>
> I don't remember; it might have been something I was told when I ran into binary compatibility issues in the past. I know that you must use the 10.4u SDK and the proper compiler for 10.4 support and especially 10.4 on PPC support.
>
>> So far as I understand, you should be able to use the Mac OS X 10.6 SDK to target Mac OS X 10.5 even for IOKit drivers, so long as you don’t use any 10.6 functionality in a 10.5 code path.
>
> As far as I know that is not correct; but I could be confused. I am pretty sure that I tried to build our driver with the 10.6 SDK first and it will not load on 10.5 (and definitely will not load on 10.4).
>
> Remember, there is no weak-linking in the kernel...
>
> Maybe things have changed with the 10.6SDK in Xcode 4...
For reference:
http://developer.apple.com/library/mac/#technotes/tn2163/_index.html
"Use the SDK representing the oldest version of Mac OS X you wish to support..."
-Ken _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden