<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font face="Source Sans Pro">Hi everyone,</font></p>
<p><font face="Source Sans Pro">Thanks for all your suggestions, but
unfortunately, no dice. I have checked the directory in Windows
Explorer as well and there is definitely no executable file
after I run the compiler. Also, running it with the option <font
face="Hack">--no-restricted-command-line<font face="Source
Sans Pro"> still produces nothing.<br>
</font></font></font></p>
<p><font face="Source Sans Pro">Is there anything else I can do?
This is really puzzling me. What's even weirder: I tried running<br>
</font></p>
<p><font face="Source Sans Pro"><font face="Hack">> mercury
--make --verbose hello > compile_try.txt</font></font></p>
<p><font face="Source Sans Pro">to see if the verbose command-line
output might help you guys diagnose my issue, but the file <font
face="Hack">compile_try.txt</font> it produced was blank, even
though the actual output was definitely NOT blank. I am
completely stumped. Maybe there's something wrong with my
computer. But it compiles C and D programs, so I don't know what
the deal is....<br>
</font></p>
<div class="moz-cite-prefix">On 2016-08-07 0:22, Julien Fischer
wrote:<br>
</div>
<blockquote
cite="mid:alpine.OSX.2.20.1608071518590.47219@aquarius.lan"
type="cite">
<br>
Hi,
<br>
<br>
On Sat, 6 Aug 2016, Noah Scott Goldman wrote:
<br>
<br>
<blockquote type="cite">I'm trying to compile hello.m which, as
you might have guessed, is a
<br>
"hello world" program. I'm running Windows 8.1 and installed
Mercury
<br>
from the binary distribution. When I run the compiler,
everything
<br>
seems to work fine, except there's no .exe file. I can't figure
it
<br>
out.
<br>
</blockquote>
<br>
Does the file hello.exe exist after you run the compiler? I think
there
<br>
is a problem with versions of Windows later than 7 and the last
<br>
compilation step.
<br>
<br>
<blockquote type="cite">> mercury --make -o hello.exe hello
<br>
</blockquote>
<br>
-o has no effect with --make. Doing "mmc --make hello" shoud
<br>
be sufficient to produce hello.exe; if it's not then something has
<br>
gone wrong.
<br>
<br>
<blockquote type="cite">Making Mercury\int3s\hello.int3
<br>
Making Mercury\ints\hello.int
<br>
Making Mercury\cs\hello.c
<br>
Making Mercury\objs\hello.obj
<br>
hello.c
<br>
Making hello.exe
<br>
</blockquote>
<br>
Could you please try invoking the compiler as follows and see if
it
<br>
produces a working executable:
<br>
<br>
mmc --no-restricted-command-line --make hello
<br>
<br>
Julien.
<br>
</blockquote>
<br>
</body>
</html>