[m-users.] Compiling Mercury code to High Level C step by step

Ramesh Suri rameshsuri at outlook.com
Thu May 9 15:31:26 AEST 2019


Hi:

Is the High Level C backend mature?

I have a program test.m which I want to compile to high level C and then compile the high level C. So say my program is hello.m, then I want to do:

mmc [Some Mercury Options] hello.m


After this I want to see a file hello.c (and possibility other files too).

Then I want to do:

gcc [Some gcc options] hello.c [and maybe other files too]

And this should generate hello executable.

What are these commands?

 


More information about the users mailing list