FROM : Hans van der Meer
DATE : Tue Nov 06 20:09:53 2007
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
>
>
DATE : Tue Nov 06 20:09:53 2007
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
>
>
| Related mails | Author | Date |
|---|---|---|
| Hans van der Meer | Nov 6, 18:04 | |
| Shawn Erickson | Nov 6, 18:12 | |
| Bill Bumgarner | Nov 6, 18:22 | |
| Hans van der Meer | Nov 6, 20:09 |






Cocoa mail archive

