[Ironruby-core] Compiling on Mono?
jbevain at gmail.com
Mon Oct 25 15:28:42 EDT 2010
On Mon, Oct 25, 2010 at 7:30 PM, Tomas Matousek
<Tomas.Matousek at microsoft.com> wrote:
> I think we should not have any #if MONO conditionals. That would mean we’d
> need a different set of binaries for Mono, Moonlight, etc. almost doubling
> the number of flavors we have today (desktop CLR, Silverlight 4, Silverlight
> Now that Mono 2.8 is released we can use memory mapped files (it wasn’t
> available when I wrote this code). We don’t need to use P/Invokes anymore.
> I have the V4 implementation somewhere almost working so I might be able to
> check it in soon.
I completely agree.
Everytime I worked on making IronRuby working on Mono (IronRuby is
constantly kicking Mono's tires, which is very good), I used the
* Avoid any specific Mono branch.
* Fix any path/casing issue directly in the build files (csproj, ...)
* If the code compiles with .net's csc, and doesn't with Mono, file a
bug in Mono, and use a code form that works for both, if possible.
* If the code doesn't compile because of a Mono feature (better unused
local variable/field detection), fix directly in the source.
It also may happen that IronRuby triggers a bug in Mono, and thus,
requires Mono from master to compile/work.
More information about the Ironruby-core