Re: application support x86_64 architecture issue
Re: application support x86_64 architecture issue
- Subject: Re: application support x86_64 architecture issue
- From: "XiaoGang Li" <email@hidden>
- Date: Tue, 21 Oct 2008 18:12:10 -0700
Hi,Jaime,
Thanks very much. I am very appreciated for your help, and I agree with you. Anyway,Can I find out any official documents on ADC to support this point, you know, I should express my idea to my customer.
Thanks.
2008/10/21 Jaime Rios
<email@hidden>
Hi Andrew,
If you want to build a 64-bit application, you can only use the 10.5 SDK.
If you want to build a 64-bit console application, then you can use the 10.4 SDK.
You cannot have a 64-bit application or console app build for 10.3.9.
I've been working with 64-bit development now for some time on the Mac and the one word of advice I would give is to have 2 separate targets: one target for 32-bit support and one target for 64-bit support.
Using this model, you will have to produce and distribute two binaries, but at least you can still support the 32-bit platform.
-Jaime
http://www.jaimerios.com
On Tue, Oct 21, 2008 at 5:02 AM, XiaoGang Li
<email@hidden> wrote:
Hi, List,
I have an application which need spport both 32-bit and 64-bit mode, this is ready for later new OS version. and my application also can run on 10.3.9 and later version. So, I set the build setting 'Architectures' to the value 'i386 ppc x86_64', and keep the Base SDK Path is '$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk', then build fail.
The build result said that 'syntax error before '*' token' in the head file DriverServices.h. If I change the Base SDK to MacOSX10.5.sdk, build success. But, the application can not run in Mac OS X 10.4 verison.
So, can anyone tell me the relationship about the Architecture-Base SDK- and the Mac OS version.
Build environment: OS 10.5.5, Xcode 3.0
and other gcc setting is default.
Thanks very much.
Andrew
_______________________________________________
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
_______________________________________________
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