[Mono-list] boehm garbage collector sources

Piers Haken piersh@friskit.com
Sun, 7 Apr 2002 00:56:38 -0800


I used the 6.0 version as well, although I got it from Boehm's site.

One file (mark.c) didn't compile correctly - it complained about a
'__try' block not being recognized. It seems like that try block is only
meant to handle some case on win98, so I just commented out the
offenting __try and __except clauses that are within a '#ifdef MSWIN32'
(lines 267-377 & 398-413) after that './configure && make && make
install' worked fine.

I'm not sure if it's necessary, but you may want to run mono's
'configure' script with the '--with-gc=boehm' flag to enable it. That's
what I've been doing.

Here's the build environment that I use to configure/build mono:
	export CPPFLAGS="$CPPFLAGS -I/usr/local/include"
	export LDFLAGS="$LDFLAGS -I/usr/local/lib"
	export CC="gcc -mno-cygwin"

Piers.

-----Original Message-----
From: Jonathan Stowe [mailto:gellyfish@gellyfish.com] 
Sent: Saturday, April 06, 2002 11:39 PM
To: Greg Haerr
Cc: mono-list@ximian.com
Subject: Re: [Mono-list] boehm garbage collector sources


On Sun, 7 Apr 2002, Greg Haerr wrote:

> Hi,
>     I'm sorry if this has been asked before, but I've looked around 
> and can't find it: where can I find an up-to-date version of the Boehm

> garbage collector source to use with mono?

I'm not sure how up to date it is but it is at :

   http://go-mono.com/archive/gc6.0.tar.gz

It has a date of 19 March so it is quite new.

I had a problem when I installed it on linux - it didn't copy the
include files so I had to do a :

   mkdir /usr/local/include/gc
   cp include/*.h /usr/local/include/gc

Although I understand that mono-build.sh takes care of this.


/J\
-- 
Jonathan Stowe                      |
<http://www.gellyfish.com>          |      This space for rent
                                    |


_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list