about building libobjc_gc
Geoff Keating
geoffk@geoffk.org
Sun Jun 23 19:49:00 GMT 2002
Nicola Pero <nicola@brainstorm.co.uk> writes:
> libobjc is currently built with garbage collecting only if an external
> boehm-gc library is provided.
>
> There was a discussion long ago
>
> http://gcc.gnu.org/ml/gcc/2001-01/msg01019.html
>
> about using the boehm-gc library provided with GCC. (I haven't
> investigated the issue myself, and I'm not sure on the question of
> ALL_INTERNAL_POINTERS, but I can investigate).
>
> There has been recently some interest in garbage collector support for
> Objective-C. I've been sent a very simple patch to build Objective-C
> using the GCC supplied boehm-gc, and to always build boehm-gc when
> Objective-C is enabled, and always build libobjc_gc (as well as libobjc)
> when Objective-C is enabled.
>
> What is the general feeling about such patches ?
>
> How portable is boehm-gc ? More or less than libobjc ?
Much less. libobjc is supported on nearly all platforms, boehm-gc is
supported only on a limited number.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>
More information about the Gcc
mailing list