<br><br><div><span class="gmail_quote">On 2/12/06, <b class="gmail_sendername">Julien Fischer</b> <<a href="mailto:juliensf@cs.mu.oz.au">juliensf@cs.mu.oz.au</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Sat, 11 Feb 2006, Jonathan Morgan wrote:<br>> aclocal.m4:<br>>        Add some preliminary support for using the il grade with Mono.<br>><br><br>Thanks for that.</blockquote><div><br>Not exactly difficult, just copying yours. 
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Index: aclocal.m4<br>> ===================================================================
<br>> RCS file: /home/mercury1/repository/mercury/aclocal.m4,v<br>> retrieving revision 1.25<br>> diff -u -r1.25 aclocal.m4<br>> --- aclocal.m4    1 Feb 2006 12:10:16 -0000    1.25<br>> +++ aclocal.m4    11 Feb 2006 02:26:02 -0000
<br>> @@ -228,7 +228,9 @@<br>><br>>  # Check for the C# (C sharp) compiler.<br>>  # cscc is the DotGNU C# compiler.<br>> -AC_PATH_PROGS(MS_CSC, csc cscc)<br>> +# mcs is the Mono C# compiler.<br>> +# XXX Which should we prefer: Mono or DotGnu?
<br>> +AC_PATH_PROGS(MS_CSC, csc cscc mcs)<br><br>Eventually we could just add a `--with-csc' option to the configure<br>script.<br></blockquote></div><br>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?
<br><br>What currently happens if ilasm and csc are detected, but no MC++ compiler is detected and Mercury comes across MC++  foreign code?<br><br>Jon<br>