[Mono-list] Mono on OS/X Information - Boehm GC

Paolo Molaro lupus@ximian.com
Thu, 8 Jan 2004 18:59:16 +0100


On 01/06/04 Steve Mentzer wrote:
> There are a few caveats dealing with the use of pthreads and the  
> mandate that the main executable call GC_INIT() before any dylibs do.  

Uhm, that may be an unreasonable requirement, but as a workaround it may
work for now.

> I have rebuilt mono from cvs with gc enabled (when ./configure (ing), i  
> get GC: yes at the end), but I am not seeing vm size decreases  
> consistent with any level of GC activity..

If you use --with-gc=boehm, you should get:
	GC: boehm

> Besides performing a ./configure --with-gc, what steps are necessary to  
> ensure that the new release of the boehm-gc is being used? I did  
> compile it, and it successfully installed server .dylib's in  
> /usr/local/lib.

You may want to double-check mono is linked to libgc:
try with otool -L mono or otool -L libmono.dydl.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better