[Mono-list] Embedding Mono

Glen Starchman glen@enabledtechnology.net
03 Mar 2003 12:20:33 -0800

Hey, all.

I am working on a very specialized project and would like to embed the
Mono environment in a FreeBSD kernel (for the sake of argument, let's
assume that is a good idea, my real problem is below :-) . I am having a
couple of problems, however:

1) When I build with "./configure --with-gc=none" , GTK# will not build,
complaining about a missing garbage collector

2) If I build with "./configure --with-gc=boehm", any assembly run by
mono segfaults with an assertion on line 4099 of jit.c
(mono_get_lmf_addr) on cleanup

I have tried building against both the Boehm GC in the FreeBSD ports
tree (6.2a3) and against the one on go-mono.com (6.1). I get the same
results with both. Oh, and just for giggles I tried each of the above
with both gcc 2.95.4 and gcc 3.2.1, all with the same result.

If anyone has any insight into this problem that would be great! I am
tired of banging my head against the wall.

My specs:
	FreeBSD 4.7 Release (i386)
	gcc 2.95.4

Thanks in advance.

Glen Starchman
President & CEO
The Enabled Technology Group, LLC