> Are you running the app in the debugger? If you're building a 4-way > universal binary, then the debugger will always launch the 32-bit > version of the executable, even if you're using a 64-bit Mac. > > If you want to build the app for 64-bit only, then you have to > manually set the architectures to "ppc64 x86_64" instead of using a > pre-set value. Also, Xcode 3.1's debugger doesn't work correctly with > 64-bit executables. I haven't checked to see if they fixed this bug in > 3.1.1, but they did work correctly in 3.0.
This brings up a question I had a while ago, but never asked and about which I forgot. I tried making a 64-bit app in Xcode 3.0 a while ago and set the architectures, as you mentioned, to "ppc64 x86_64". When I ran the app, sizeof(long) was still 4 on a Core2 Duo running Leopard. I found a compiler option called "Use 64-bit Math". After enabling that, sizeof(long) was 8. I was never sure if that was correct behavior, but, as I said, I just forgot about it. _______________________________________________ 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]