Re: Re: Compiling a 10.4 Project for 10.3.9
Re: Re: Compiling a 10.4 Project for 10.3.9
- Subject: Re: Re: Compiling a 10.4 Project for 10.3.9
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 17 Aug 2006 09:48:54 -0700
On 8/17/06, Tommy Nordgren <email@hidden> wrote:
On Aug 17, 2006, at 5:23 PM, Brandon Meyer 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"
>
> Any insight on how I can get around this would be greatly
> appreciated. TIA
One thing you need to do, is build with GCC 3.3 instead of 4.0
Tommy, if you are targeting 10.3.9 and later you can compile with 4.0
you do not need to drop back to 3.3.
Brandon, off the top of my head I am not sure what is going wrong. I
have several projects (Objective-C/C++) building for 10.3.9 and later
using GCC 4.0 without issue.
Try setting the max OS support to 10.3 to see what the compatibility
macros have to say about your code. It almost looks like you have some
direct dependency in your code on lower level objective-c runtime
found in 10.4.
What version of Xcode are you using?
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden