Re: No ppc from Xcode 4?
Re: No ppc from Xcode 4?
- Subject: Re: No ppc from Xcode 4?
- From: Laurent Daudelin <email@hidden>
- Date: Mon, 14 Mar 2011 19:28:24 -0700
On Mar 14, 2011, at 17:34, Christiaan Hofman wrote:
>> Wow! I've been fooled! I need to support PPC machine and yesterday evening, proceeded to uninstall Xcode 4 because of its lack of a PPC compiler. Searched a bit, found the link to Xcode 3.2.6 with iOS 4.3, life is good. Proceeded to download and install. Life is still good.
>>
>> Now, I just read the above thread, went to recompile one of my project with the release target and, indeed, it compiles and creates an universal binary only for 32 and 64bits Intel!!!
>>
>> What is this? What is this disease at Apple that has them to force us to drop previous processors/OS versions? After dropping PPC support for Xcode 4, couldn't they leave Xcode 3.2.x alone?
>>
>> Can I change the "ARCHS_STANDARD_32_64_BIT" to something that includes a PowerPC compiler or has the compiler completely removed from the installation?
>>
>
> Yes, include "ppc" explicitly. I have changed it to "ppc i386 x86_64" instead of the ARCHS_STANDARD_32_64_BIT macro.
>
> As an aside, I consider it a bug that this definition changed, especially in a bug-fix version. I can accept it to change in 4.0, not in 3.2.6. So please also file a bug report with Apple about this, so they don't repeat this stupidity. You can refer to mine, rdar://problem/9133026.
>
> Apart from that I consider it a bug that these macros are not documented, and never were.
Well, I already included ppc explicitly under VALID_ARCHS: i386 x86_64 ppc but the compiler just ignores it and only compile i386 and x86_64. I just changed the ARCHS_STANDARD_32_64_BIT macro for "ppc i386 x86_64" and now the compiler is generating the executable for the 3 architectures and properly link them into an universal binary. Thanks, Christiaan!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software 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