[Mono-list] FreeBSD port patches

Sandro Tolaini sandro@focuseek.com
18 Apr 2002 13:14:40 +0300


Hi mono-list people,

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.

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.

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...

BTW: to successfully compile something with mcs I had to add a ';'
before EOF, or no class code would be emitted.

If anyone is interested in the patches to try them, just email me...

Cheers,
  Sandro Tolaini