Next: Debugging grade options, Previous: LLDS backend grade options, Up: Grade options [Contents][Index]
-H
(grades: ‘hlc’, ‘java’, ‘csharp’)--high-level-code
--high-level-c
--high-level-C
--highlevel-code
--highlevel-c
--highlevel-C
Use the MLDS backend, which generates idiomatic high-level-language code, rather than the LLDS backend, which generates assembly language code in C syntax.
--target-debug-grade
(grades: ‘hlc’, ‘java’, ‘csharp’)Require that all modules in the program be compiled to object code
(for C) .class files (for Java), or .dll files (for C#)
in a way that allows the program executable to be debuggable with
debuggers for the target language, such as gdb
for C. This
option is intended mainly for the developers of Mercury, though it can
also help to debug foreign language code included in Mercury programs.