Re: Getting back into MacOSX development after some time off

jerry porter <jep9816-/[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Thanks, that is a great help.
 Jerry Porter


- - -
When told the reason for daylight saving time the old Indian said ...


"Only a white man would believe that you could cut a foot off the top of a blanket and sew it to the bottom of a blanket and have a longer blanket."
- - -
- - -
Seen on a T-shirt: "Remember you are unique and special... Just like everyone else"
- - -




________________________________
From: Mr. George Warner <[email protected]>
To: [email protected]
Cc: jerry porter <jep9816-/[email protected]>
Sent: Wed, November 11, 2009 3:58:49 PM
Subject: Re: Getting back into MacOSX development after some time off


On Tue, 10 Nov 2009 21:10:17 -0800 (PST), jerry porter <jep9816-/[email protected]> wrote:
> I think I figured out how to "migrate" to 10.6 SDK in my code.
> I started by playing with the Active SDK and the architecture settings.

Remember that the SDK should be set to the NEWEST version of Mac OS X that you want to run on and the DEPLOYMENT_TARGET to the oldest. For example, for PowerPC Leopard, Intel Snow Leopard and deploy to Tiger:


SDKROOT = macosx10.6
SDKROOT[arch=ppc] = macosx10.5
MACOSX_DEPLOYMENT_TARGET = 10.4

You should probably be at least testing with an x86_64 architecture. I usually use:

ARCHS = $(ARCHS_STANDARD_32_BIT) x86_64

Note that this is the same for both debug and release configurations. If you only want to build the native architecture when debugging use this:

ONLY_ACTIVE_ARCH = YES

Note: the above build setting will cut-n-paste into your project or target build settings (if the appropriate table view has focus).
-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.