Re: [Ikvm-developers] Welcome
Brought to you by:
jfrijters
From: Paolo M. <lu...@xi...> - 2003-01-06 12:06:46
|
On 01/06/03 Pablo Baena wrote: > I don't know JNI. The compiled ik.vm.jni.dll should run on mono although > it is written on managed C++. I am making tests already to verify. There The IK.VM.JNI.dll assembly (at least the one I got a few weeks ago) contains x86 code. We don't support running x86 code in mono, only IL (and, besides, we want to support ikvm also on other architectures). I don't know if it's possible to compile that managed c++ code completely to IL (I think there's a switch to do that). > seems to be a few issues because of the lower/upper case of the name of > assemblies referenced (this is easy to solve). Also, the > Microsoft.VisualC.dll is missing on mono (just copying the windows' one > works by now). Writing a replacement for Microsoft.VisualC.dll should be easy, it seems it just contains some attributes... > Besides of that, a few other problems arise when trying to run the > binaries. I will be tracking and reporting them on mono's bugzilla. Thanks. If the managed c++ code can be compiled to IL code we should be able to complete the support in mono to run it. A better solution (since we want to be able to rebuild ikvm in mono as well and we're not going to support compiling managed c++ any time soon) is to write a different jni support assembly for mono. This may require hooks or special handling in the runtime, but I think there should be no problem in implementing them if it's not possible to implement the assembly with the standard P/Invoke mechanism. lupus -- ----------------------------------------------------------------- lu...@de... debian/rules lu...@xi... Monkeys do it better |