site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com The deployment target for x86_64 should also be 10.6. There's Apple sample code that shows this called AppleSamplePCI. Best regards, --gc Sent from my iPhone On Jun 9, 2011, at 4:54 AM, Robert Bielik <robert.bielik@xponaut.se> wrote:
Chris Suter skrev 2011-06-08 11:40:
What to do ? Xcode doesn't allow me to build a UB with different SDKs for 32 and 64 bit..
Yes it does.
Search the list archives for other tips and also check the documentation. I've posted an answer to this in the past.
Ok, found the way to add build conditions to deployment target and compiler in Xcode (can confess that Xcode is not my main work IDE...). So now I have it set as:
i386: Base SDK: 10.6 Deployment target: 10.4 Compiler: GCC4.0
x86_64: Base SDK: 10.6 Deployment target: 10.5 Compiler: GCC4.2
and it seems to work fine in both 32 & 64 bit :)
Thnx! /Rob _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/gcummings%40apple.com
This email sent to gcummings@apple.com
Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com