Re: Garbage Collection in 10.4
Re: Garbage Collection in 10.4
- Subject: Re: Garbage Collection in 10.4
- From: Hans van der Meer <email@hidden>
- Date: Tue, 6 Nov 2007 20:09:53 +0100
Thanks for the quick answer. Seems I really have to choose between
the one and the other.
Hans van der Meer
On Nov 6, 2007, at 18:12, Shawn Erickson wrote:
No GC using applications will not run on 10.4 systems. GC requires
support from system provided frameworks (let alone the objc runtime)
and that support only exists on Leopard (10.5).
-Shawn
On Nov 6, 2007, at 18:22, Bill Bumgarner wrote:
On Nov 6, 2007, at 9:04 AM, Hans van der Meer wrote:
My question is sligthly different: If I switch over to 10.5 and
opt for garbage collection in my Cocoa programs, will these
programs run under 10.4? Or do I have to maintain 2 versions, one
with gc for 10.5 and one with manually managed memory for running
on 10.4?
(I need to keep a 10.4 system running)
As Shawn said, "No" -- No, you can't compile a dual mode chunk of
code on Leopard and deploy it on Tiger, GC or non-GC. When
compiling dual mode code (or GC only code), the compiler generates
references to symbols that do not exist on Tiger.
The real question, though, is why would you want to deploy with GC
enabled on Leopard if you have to support non-GC on Tiger? Why
bother incurring the cost of maintaining, debugging, and optimizing
your code for two different memory management models?
If you need to support Tiger, stick with non-GC.
b.bum
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden