Re: Cross OS version UB development
Re: Cross OS version UB development
- Subject: Re: Cross OS version UB development
- From: Shawn Erickson <email@hidden>
- Date: Sat, 24 Feb 2007 08:44:32 -0800
On Feb 24, 2007, at 8:31 AM, John Daniel wrote:
On Feb 24, 2007, at 9:52 AM, Theodore H. Smith wrote:
Hi people,
What's the earliest OS I can cross compile for OS versions? Right
now I'm using these settings.
SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
Now, what if I wanted to let PPC users run my library on MacOS
10.2? Is this possible? Whats the earliest OS I can cross compile
for? I'd rather know than test it out for myself because I don't
actually have MacOS10.2 or 10.1 or 10.0 installed.
It is probably safer to create two targets in your project, one for
Intel only (using 10.4) and one for PPC (10.2) and meld them
together using lipo in a 3rd target that has only a run script
build phase.
Why? Xcode supports building a UB directly for you (by default
Release configuration does this while Debug only build the platform
you are running on). You don't need to make it harder on yourself.
This capability works fine so I suggest you use it.
-Shawn
_______________________________________________
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