Re: Using gcc 4.0 to target 10.3.9 which SDK do I use?
Re: Using gcc 4.0 to target 10.3.9 which SDK do I use?
- Subject: Re: Using gcc 4.0 to target 10.3.9 which SDK do I use?
- From: Mike Lazear <email@hidden>
- Date: Thu, 7 Sep 2006 11:49:25 -0700
On Sep 6, 2006, at 7:08 PM, Chris Espinosa wrote:
On Sep 6, 2006, at 3:56 PM, Mike Lazear wrote:
When using gcc 4.0 and wanting to run on 10.3.9 (ppc) which SDK do I use MacOSX10.4u.sdk or MacOSX10.3.9.sdk?
It depends on whether you want the app to be able to take advantage of 10.4 features when it's actually run on 10.4.
If you use the 10.3.9 SDK, you'll be limited to 10.3.9 API and functionality. If you use the 10.4u SDK, you can use 10.4 APIs, but your code will have to check at runtime to see what version you're running on before calling APIs introduced in 10.4.
That is the most clear, direct answer I've seen on the subject.
should my deployment target be 10.3 or 10.4?
If you want your app to run on 10.3.9, you should set your Deployment Target to 10.3. If you set it to 10.4, it will require 10.4 or later.
I recommend you read the Cross-Development Programming Guide. This is the most basic issue discussed there.
I was fairly sure that was the answer but I figured I might as well ask the direct question.
Thanks Chris & Shawn for the replies. That was exactly what I needed.
My searching had found pages within that document and also found the Tech Note TN2163. I'll go back and read the complete Cross-Development document.
Thanks, Mike |
_______________________________________________
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