[Mono-list] JITer / Windows
Dietmar Maurer
dietmar@ximian.com
03 Apr 2002 09:06:17 +0200
wow - it would be great to have the JIT working on MS.
On Mon, 2002-04-01 at 18:45, Serge wrote:
> Hello,
>
> Today I managed to build Mono JITer on Windows, the patch is attached.
> Please note however, that this patch is not to be applied to the main
> codebase - the "port" is quick and dirty, so this is just for review and
> just because I wanted to run JIT compiler on Windows ;-)
> Perhaps some cleaner interface is needed for things such as exception
> processing to make porting easier/cleaner (in general maybe something like
> io-layer, but more generalized; something like os modules in addition to
> existing arch modules or something).
We have to do a major cleanup as soon as the JIT is feature complete. I
suggest that we do that split when we do that cleanup.
> Most of the changes in jit itself is just avoiding name clashes because of
> the way Win32 CONTEXT is mapped to POSIX sigcontext.
Is it really necessary do to that renaming. I would prefer to simply
copy the Win32 CONTEXT to a POSIX like context. That way we do not need
macros, which are quite confusing IMO. Performance does not matter in
case of exceptions.
> Some code is commented out to avoid abnormal termination if corlib is out of
> sync (currently it will complain about TransparentProxy, but will continue
> to run; that's ok). As I said this is quick and dirty.
> Win32 code uses per-process exception handler to catch exceptions.
I would like to include that code as soon as the above issue is fixed.
- Dietmar