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

Jonathan Morgan jonmmorgan at gmail.com
Mon Feb 13 23:17:38 AEDT 2006


On 2/12/06, Julien Fischer <juliensf at cs.mu.oz.au> wrote:
>
>
> On Sat, 11 Feb 2006, Jonathan Morgan wrote:
> > aclocal.m4:
> >        Add some preliminary support for using the il grade with Mono.
> >
>
> Thanks for that.


Not exactly difficult, just copying yours.

> Index: aclocal.m4
> > ===================================================================
> > RCS file: /home/mercury1/repository/mercury/aclocal.m4,v
> > retrieving revision 1.25
> > diff -u -r1.25 aclocal.m4
> > --- aclocal.m4    1 Feb 2006 12:10:16 -0000    1.25
> > +++ aclocal.m4    11 Feb 2006 02:26:02 -0000
> > @@ -228,7 +228,9 @@
> >
> >  # Check for the C# (C sharp) compiler.
> >  # cscc is the DotGNU C# compiler.
> > -AC_PATH_PROGS(MS_CSC, csc cscc)
> > +# mcs is the Mono C# compiler.
> > +# XXX Which should we prefer: Mono or DotGnu?
> > +AC_PATH_PROGS(MS_CSC, csc cscc mcs)
>
> Eventually we could just add a `--with-csc' option to the configure
> script.
>

As the binaries (should) all be ECMA compatible, would you be able to add
such an option to the compiler, or would mixing different C# and il
compilers be disastrous?

What currently happens if ilasm and csc are detected, but no MC++ compiler
is detected and Mercury comes across MC++  foreign code?

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/developers/attachments/20060213/ed15edcc/attachment.html>


More information about the developers mailing list