Re: No ppc from Xcode 4?
Re: No ppc from Xcode 4?
- Subject: Re: No ppc from Xcode 4?
- From: Christiaan Hofman <email@hidden>
- Date: Tue, 15 Mar 2011 11:36:30 +0100
On Mar 15, 2011, at 4:55, Laurent Daudelin wrote:
> On Mar 14, 2011, at 19:33, Rick C. wrote:
>
>> For what it worth I noticed the same thing regarding taking out ppc on 3.2.6. Good thing I saw a post on the developer forums or I might have made a new release non-universal without knowing. All I did was add ppc as an extra architecture and it seemed to build the same way as before. Doesn't look like my VALID_ARCHS settings were changed only the ARCHS. All seems to be ok but if there is anything else that I'm missing it would be great to know it. I do understand Xcode 4 is playing by different rules but of course we still need ppc support in Xcode 3...
>
> Well, in my case, that didn't work. I already had the ppc in VALID_ARCHS but carefully looking at the compiler output, I didn't see any compile for PPC. I then checked my binary with lipo and it reported that the binary was only i386 and x86_64. That's when I decided to follow Christiaan's suggestion and I changed the ARCHS from $(ARCHS_STANDARD_32_64_BIT) into 3 entries consisting of "ppc", "i386" and "x86_64". I did a clean and a build and this time, lipo reported all 3 architectures in the binary.
>
> If you're not sure, I would suggest you try lipo. If by only adding ppc to the VALID_ARCHS did the trick, then I'm surprised and would like to know how this can be done. Are these build settings coming from the project or from the target? The target can override the settings of the project….
>
> -Laurent.
If I understand Rick C correctly he did not just change the VALID_ARCHS, in fact he said he did not have to change that at all (which is correct, because that's usually not set to a macro, but to an explicit list of archs). He did say that he changed ARCHS, but by only adding "ppc". I would not do that, I'd use either an explicit list or a macro, not some hybrid that can duplicate "ppc" on some Xcode versions (though I think Xcode is smart enough to ignore that), perhaps when Apple decides to fix this in 3.2.7 (only hoping).
Christiaan
_______________________________________________
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