Skip navigation.
 
mlRe: Compiling a 10.4 Project for 10.3.9
FROM : Michael Ash
DATE : Thu Aug 17 19:45:29 2006

On 8/17/06, Brandon Meyer <<email_removed>> wrote:
> Hi all,
>
> Wondering if anyone has any experience trying to cross-develop their
> originally 10.4 project back to 10.3.9. I changed my SDK from 10.4
> (Universal) to 10.3.9 and now I'm getting linking errors for every
> class in the project. The error is: "<ClassName>.o reference to
> undefined _objc_assign_ivar"


You cannot use the 10.3.9 SDK when compiling Universal, as 10.3.9 was
PPC only, and so its SDK only contains PPC binaries.

The simplest solution is to simply keep using the 10.4u SDK. You do
not need to use the 10.3.9 SDK to build a binary compatible with
10.3.9, it just makes it a little easier to detect problems.

If you really want to use the old SDK, then you can set a separate SDK
for ppc and i386, by setting SDKROOT_ppc and _i386 to different
values. You will have to do this entirely manually in your target
build settings, though.

Mike

Related mailsAuthorDate
mlCompiling a 10.4 Project for 10.3.9 Brandon Meyer Aug 17, 17:23
mlRe: Compiling a 10.4 Project for 10.3.9 Tommy Nordgren Aug 17, 18:39
mlRe: Re: Compiling a 10.4 Project for 10.3.9 Shawn Erickson Aug 17, 18:48
mlRe: Compiling a 10.4 Project for 10.3.9 j o a r Aug 17, 19:15
mlRe: Compiling a 10.4 Project for 10.3.9 Michael Ash Aug 17, 19:45