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 20:55:29 -0700
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.
--
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