[Mono-list] FreeBSD port patches

Miguel de Icaza miguel@ximian.com
18 Apr 2002 02:29:00 -0400


> I have done a quick-and-dirty port of the mono runtime to the FreeBSD
> platform (4.5-RELEASE). I tried the mcs compiler and a simple 'Hello
> world' program and it seems to work.

Very nice!  You might want to look into compiling and running the
compiler test suite and the mono engine test suite (mcs/tests and
mono/mono/tests). 

> The port is fairly straightforward, but I had to do a lot of changes in
> mono/jit/exception.c because the struct sigcontext has a sc_ prefixed to
> all the registry names.

Yeah, we expected something like that would be needed.  Could you post
the diff, so we can discuss how to best split the code?

> The only problem I still have when running mono is mcs complaining about
> not reading EOF at end-of-file, but getting an ERROR token instead.
> Maybe someone can point me to the right direction to fix this
> misbehaviour...

Sounds like a problem in the port.  That can mean all sorts of things,
it is just the behavior when something is going badly on the binding to
the OS. 

Miguel