<div dir="ltr"><div>I have a github build running:</div><div><br></div><b>Mercury Compiler, version DEV, on x86_64-pc-linux-gnu<br>Copyright (C) 1993-2012 The University of Melbourne<br>Copyright (C) 2013-2019 The Mercury team<br>Usage: mmc [<options>] <arguments><br>Use `mmc --help' for more information.<br></b><div><br></div><div>mmc --make --target java gives me:</div><div><b>Use of Boehm GC is incompatible with target language Java</b><br></div><div><b><br></b></div><div>but using</div><div><b>mmc --make --grade java j1</b></div><div>I get:</div><div><br></div><div><font face="courier new, monospace">Making Java class files<br>Mercury/javas/jmercury/j1.java:51: error: package jmercury.runtime does not exist <br>    jmercury.runtime.JavaInternal.progname = "j1";<br>                    ^<br>Mercury/javas/jmercury/j1.java:52: error: package jmercury.runtime does not exist <br>    jmercury.runtime.JavaInternal.args = args;<br>                    ^<br>Mercury/javas/jmercury/j1.java:53: error: package jmercury.runtime does not exist <br>    jmercury.runtime.JavaInternal.exit_status = 0;<br>                    ^<br>Mercury/javas/jmercury/j1.java:54: error: cannot find symbol <br>    library.ML_std_library_init();<br>    ^<br>  symbol:   variable library<br>  location: class j1<br>Mercury/javas/jmercury/j1.java:55: error: cannot find symbol <br>... error log truncated, see `j1.err' for the complete log.<br></font></div><div><br></div><div><br></div><div>So I don't know if I have not got the Java grade or there is some other issue. The man page doesn't seem to mention a "list all the available grades". I just git pulled the latest from the repo so I am ready to build again and I would like to have:</div><div>  - hlc</div><div>  - erlang</div><div>  - java</div><div>  - c#</div><div><br></div><div>My configuration incantation the last time I built was:</div><div><b>./configure --enable-libgrades=hlc.gc,none.gc.stseg,none.gc.debug.stseg<br></b></div><div><br></div><div>I am not sure what options to pass for erlang, java and c# as they probably don't use the Boehm GC either...</div><div><br></div><div>TIA,</div><div>Sean.</div><div><br></div></div>