Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Mono seems to be buildable with mingw, allthough most references I found crosscompiled from Linux, e.g. <a href="http://www.mono-project.com/Cross-compiling_Mono_for_Windows" rel="noreferrer">http://www.mono-project.com/Cross-compiling_Mono_for_Windows</a></p> <p>I'd say your first priority is searching for a libmono dll that </p> <ul> <li>doesn't use cygwin (trust me)</li> <li>is known to work, also outside mingw (avoid possible mingw specific C++ mangling if C++ is used)</li> <li>Preferably comes with a readable header.</li> </ul> <p>If you find or build it as DLL (to satisfy mghie's correct remark), write a header (like Stijn suggests) it could work. </p> <p>It won't be trivial though, VMs are not exactly trivial beasts, and expect problems in the usual cross-language problem domains: library initialization (order), FPU exception mask and exception handling in general. Partially that is also why I said "know to work outside of mingw", studying how it is interfaced in other compilers might give pointers how to properly tackle this.</p> <p>Note that the mono tutorial has a mono lib initializer, but that doesn't mean that all the libs that mono uses are properly initialized. Specially mingw's libc might need initialization, since they are normally initialized via ctors. My (very initial) mingw glue code is here:</p> <p><a href="http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/ide/fpmingw.pas?view=markup" rel="noreferrer">http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/ide/fpmingw.pas?view=markup</a></p> <p>On the other hand, in a DLL it might be initialized via a DLL initialization routine.</p> <p>I myself have been able to build GDB as a lib and use it (statically in FPC though, I didn't have the motivation to make a DLL since that was an option)</p> <p>Note that if you really have to do this yourself this is NOT an easy way.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload