Next: , Previous: , Up: Grade options   [Contents][Index]


9.5.4 MLDS backend grade options


-H (grades: ‘hlc’, ‘csharp’, ‘java’)
--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.


--c-debug-grade (grades: ‘hlc’)

Require that all modules in the program be compiled to object code in a way that allows the program executable to be debuggable with debuggers for C, such as gdb. This option is intended mainly for the developers of Mercury, though it can also help to debug C code included in Mercury programs. This option is used only when targeting C.