[m-dev.] IL, Mono and Portable .NET

Julien Fischer juliensf at cs.mu.OZ.AU
Mon Feb 6 15:47:59 AEDT 2006


On Wed, 1 Feb 2006, Julien Fischer wrote:

> On Wed, 1 Feb 2006, Jonathan Morgan wrote:
>
> > Any idea how much work it would be to natively support Mono or DotGnu for
> > the IL backend with both mmake and mmc --make?
>
> I've just tried it with DotGNU and compiled most of the library with both
> mmake and mmc --make.  It looks like there is a bug in the MLDS backend that
> causes it to duplicate definitions in the IL code when compiling
> library/injection.m (which is where it dies for me at the moment)
>
> > Is it likely to be just a matter of adding their programs to the configure
> > script and then choosing command line options depending on the compiler, or
> > will more work be needed to get the IL compiling?
>

A workaround for this is to add the following line to Mercury.options:

	MCFLAGS-injection=--no-inlining

With that I've got Portable.NET to generate all of the .il files for the
standard library, unfortunately cscc doesn't seem to have an equivalent
to csc's /addmodule option, so the creating a dll for the library doesn't
work.

Does anyone have any ideas?

Julien.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list