[m-users.] Mercury mmc --make error
Roger Qiu
roger.qiu at polycademy.com
Tue Oct 7 17:38:40 AEDT 2014
Hello Mercury Users,
I'm using the MinGW build for Mercury, and I just ran through the hello
world example. After running:
|mmc --make hello|
I get this error:
|$ mmc --make hello14-10-07 17:29:00
Making Mercury\int3s\hello.int3
Making Mercury\ints\hello.int
Making Mercury\cs\hello.c
Making Mercury\os\hello.o
Mercury\cs\hello.c: In function 'hello_module0':
Mercury\cs\hello.c:79:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
MR_r1 = (MR_Word) MR_string_const("Hello, World!\n",14);
^
'mfiltercc' is not recognized as an internal or external command,
operable program or batch file.
Error: system command received signal1.
** Error making `Mercury\os\hello.o'.
|
The above was inside Cygwin, I tried again in cmd and I got a similar thing:
|C:\Users\CMCDragonkai\Projects\Language-Learning\mercury\examples>C:\mercury-14.
01-mingw\bin\mmc.bat hello
hello.c: In function'hello_module0':
hello.c:79:10: warning: cast from pointer to integer of different size [-Wpointe
r-to-int-cast]
MR_r1 = (MR_Word) MR_string_const("Hello, World!\n",14);
^
'mfiltercc' is not recognized as an internal or external command,
operable program or batch file.
Error: system command received signal1.
C:\Users\CMCDragonkai\Projects\Language-Learning\mercury\examples>
|
What's the problem here?
Thanks,
Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20141007/4fbcff1e/attachment.html>
More information about the users
mailing list