On Thu, Nov 20, 2008 at 6:50 AM, Påhl Melin <[EMAIL PROTECTED]> wrote: > I'm very tempted to use the new 64-bit Objective-C ABI in my next > project. Primarily because of the improved interoperability with C++ > destructors, that are now called when unwinding Objective-C exceptions > and should make it possible to use RAII designs in Objective-C++ > programs. > > If I were to require the use of the 64-bit ABI in my next project, > which mac models would the application run on? And is it possible to > detect at runtime if I'm running the old 32-bit ABI or the new 64-bit > to enable a fallback on non-64-bit models?
The decision between 64b and 32b is made at compile time for your compiled code. As a result your 64b executable wont run under the 32b runtime not matter what you do. ...however you can of course (normally you would do this) create a universal application that contains x86-64, x86, etc. in it and at launch time the OS can decide which to run based on the systems capabilities. Review the universal binary conceptual doc... http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary -Shawn _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]