Re: PowerPC and 10.5 "Base SDK"
Re: PowerPC and 10.5 "Base SDK"
- Subject: Re: PowerPC and 10.5 "Base SDK"
- From: "David M. Cotter" <email@hidden>
- Date: Fri, 06 Jul 2012 23:19:00 -0700
i ended up creating my own prototypes and stub functions for 10.4, then in them manually finding the correct function pointers and calling them.
On Jul 6, 2012, at 8:02 PM, Aaron Burghardt wrote:
>
> On Jul 6, 2012, at 3:55 PM, David M. Cotter <email@hidden> wrote:
>
>>> have you tried "ppc750" instead of "ppc"?
>> have now, doesn't work (no such thing as ppc750 compiler?)
>>
>
> This file suggests that at one time "-arch ppc750" was a valid option to GCC and corresponded to "-mcpu=ppc750":
>
> http://www.opensource.apple.com/source/gcc/gcc-4061/gcc/config/darwin-driver.c
>
> I don't know which version of GCC it is, but this makes me think it is 4.0.0:
>
> http://www.opensource.apple.com/source/gcc/gcc-4061/gcc/version.c
>
> Did you try it on GCC 4.0, as was pointed out in another response?
>
>
>>> 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.
>> doesn't work because the app won't link, since i'm still linking against the 10.4 libraries
>>
>
> You could try -weak_l or -weak_framework when linking to 10.4 libraries and frameworks for files that contain 10.5 APIs. Then add a check to your code to confirm the API exists before calling it. I.e., if (new_func) new_func(...).
>
> Aaron
>
_______________________________________________
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