On Jun 8, 2005, at 9:48 AM, Steve Palmer wrote:
Ah. Somehow that got reset to "Current Mac OS".
So for the benefit of anybody else, here's what I've done:
On the TARGET info panel for All Configurations, I set Architectures to "ppc i386"
I'd recommend leaving Debug configuration to be $(NATIVE_ARCH) and only set Release to "ppc i386". No need to build binaries that your machine can't ever execute at debug time.
On the PROJECT info panel for All Configurations, I set Architectures to "ppc i386"
You don't need to do this if you've set this at the target level, the target will override it.
On the TARGET info panel for All Configurations, I added:
SDKROOT_ppc=/Developer/SDKs/MacOSX10.3.9.sdk
SDKROOT_i386=/Developer/SDKs/MacOSX10.4u.sdk
I set the "Cross-Develop Using Target SDK" on the PROJECT info panel to "Mac OS X 10.3.9"
This is redundant if you've done the above. This just sets SDKROOT, which is the fallback if SDKROOT_<arch> is undefined.
I set the "Framework Search Paths" on the TARGET info panel to:
$(SDKROOT)/System/Library/Frameworks
This is unnecessary and redundant. /System/Library/Frameworks is in the framework search path by default, and when you use an SDK, all system paths are prepended with the SDKROOT_<arch> path automatically.