Re: PowerPC and 10.5 "Base SDK"
Re: PowerPC and 10.5 "Base SDK"
- Subject: Re: PowerPC and 10.5 "Base SDK"
- From: Aaron Burghardt <email@hidden>
- Date: Wed, 04 Jul 2012 07:26:49 -0400
I haven't tried this myself, but have you tried "ppc750" instead of "ppc"? In the build settings, be sure to add it to both "Valid Architectures" and to "Architectures". Alternatively, you can try adding "-arch ppc750" to "CFLAGS". Verify that your flag is passed to the compiler by looking at the detailed build transcript, which shows the entire compiler command invocation command. If you are still having problems, please include a example of the gcc invocation in your follow-up.
Aaron
On Jul 3, 2012, at 9:12 PM, James Walker <email@hidden> wrote:
> On 7/3/2012 5:39 PM, David M. Cotter wrote:
>>> Your PPC computer isn't a G3, is it?
>> indeed it is.
>>
>>> There are special problems with getting Xcode to generate code that will run on a G3.
>> evidently. my workaround now is to target 10.4 when compiling PPC, but this cuts out the 10.5 features for anyone on 10.5 that has a PPC
>>
>> so, are these "special problems" documented anywhere?
>
> No, I don't think the issue is documented, but it has come up on the list before. What happens is that under various circumstances, you say you want the 'ppc' architecture, but you actually get 'ppc7400', which won't work on a G3. You can check your executable with "file" or "lipo -info" on the command line to verify that this is happening.
>
> As you say, I think you must stick with the 10.4 SDK, and I think you also need to stay with GCC 4.0, when compiling for PPC.
>
> I suppose you could go into the 10.5 headers and copy out the declarations of the new functions you need, and paste them where you need them.
>
>>
>>> It sounds like it's at least starting to run your code
>> no, it never gets to my code. :(
>>
>> (yes, i'da done the "printf debugging" if it had)
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
>
> --
> James W. Walker, Innoventive Software LLC
> <http://www.frameforge3d.com/>
>
>
> _______________________________________________
> 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