Re: Unwanted ppc build
Re: Unwanted ppc build
- Subject: Re: Unwanted ppc build
- From: ipmlists <email@hidden>
- Date: Thu, 01 Sep 2011 12:40:07 +0100
On 1 September 2011 12:05, Christiaan Hofman <email@hidden> wrote:
>
> On Sep 1, 2011, at 11:59, ipmlists wrote:
>
>> On 1 September 2011 10:23, Christiaan Hofman <email@hidden> wrote:
>>>
>>> On Aug 31, 2011, at 21:26, ipmlists wrote:
>>>
>>>> I have an Xcode project, using the CorePlot framework, which I'm
>>>> compiling as a standard 32/64 bit universal, with valid architectures
>>>> i386 and x86_64.
>>>
>>> Well, that list does not contain ppc. Therefore it does not compile for ppc. Why would you expect otherwise?
>>
>> Er, I think perhaps you haven't seen my original post. The problem, as
>> the subject line might suggest, is that it _is_ compiling for ppc, and
>> I don't want it to.
>>
>
> Sorry, that's probably because you're confusing there (probably because you are confused).
>
> The warning you describe would never be given when compiling the framework. It's a warning you'd get when *another* binary tries to link to your framework, and it's that *other* binary that is being built for ppc. So you were looking in the wrong place. You were talking about the framework in your original one, and the only problem with the framework is that it does *not* build for ppc. And what I said would solve *that* problem, and get rid of the warning. Now your later email made it clear that in fact your original description was wrong, and that you indeed get the problem in another targte. So you really should talk about that other target, not about the framework. Now I don't know what's wrong with that target, as you haven't described much about that at all.
Yes, I'm sorry, ambiguous grammar on my part! I should have said "I
have an Xcode project, which I'm compiling as a standard 32/64 bit
universal, which uses the CorePlot framework". The framework is a
32/64-bit intel binary, and I'm not compiling it.
>>> And about Jerry Krinock's remark, the "Standard Universal" does indeed mean different things in different Xcode versions. Long ago it used to mean "i386 ppc", then for a long while it meant "x86_64 i386 ppc" and since Xcode 3.2.6 it means "x86_64 i386". For you this means that it includes ppc (but it will be ignored), while if you want to upgrade to 3.2.6 and still want to compile for ppc you should change that setting to explicitly include ppc (and on Lion you will not be able to at all, officially). But this is not the setting that's relevant in your case.
>>
>> Yes, following Jerry Krinock's suggestion I've changed both
>> 'Architectures' and 'Valid Architectures' explicitly to i386 and
>> x86_64.
>
> And you did so in the other target, the one that *links* to the framework?
That's right. I've added a couple of other details about the project
in another post.
thanks again,
IainM
_______________________________________________
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