Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Universal binaries and older versions of Mac OS X



Greg Hurrell wrote:

I've downloaded Xcode 2.1 and read the Universal Binary Programming Guidelines[*] and my reading tends to indicate that to build a Universal Binary you need to set your "Mac OS X Deployment Target" to 10.4 or later.

The question is, then, what is Apple's recommended best practice for developers who maintain apps which must also run on older versions of Mac OS X?

It's not so much a matter of the SDK you choose but rather the compiler. Building a universal binary requires using gcc 4.0 and gcc 4.0 built PPC code won't run on an OS version earlier than 10.3.9 due to changes in some of the standard libraries.

I tested a universal binary built with gcc 4.0, the 10.4 SDK and running on 10.3.9 - and everything is fine there.

Perhaps it's time to drop 10.2 support ? Figures from Monday's keynote indicated that the percentage of installed base with 10.2 and earlier is getting pretty small, not only from the rapid adoption of Tiger but also I think because people on 10.2 will wait until 10.4 to upgrade to 10.3 !! 8-)

Andrew 8-)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Universal binaries and older versions of Mac OS X (From: Greg Hurrell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.