# [m-users.] Compiler trouble

Daniels, Marcus G mdaniels at lanl.gov
Sun Aug 7 12:07:30 AEST 2016

Perhaps “.\hello.exe”?  (That “.” Is not in your PATH?)

From: users [mailto:users-bounces at lists.mercurylang.org] On Behalf Of Noah Scott Goldman
Sent: Saturday, August 06, 2016 7:48 PM
To: users at lists.mercurylang.org
Subject: [m-users.] Compiler trouble

I'm trying to compile hello.m which, as you might have guessed, is a "hello world" program. I'm running Windows 8.1 and installed Mercury from the binary distribution. When I run the compiler, everything seems to work fine, except there's no .exe file. I can't figure it out.

> mercury --make -o hello.exe hello
Making Mercury\int3s\hello.int3
Making Mercury\ints\hello.int
Making Mercury\cs\hello.c
Making Mercury\objs\hello.obj
hello.c
Making hello.exe

> hello
'hello' is not recognized as an internal or external command, operable program or batch file.

> hello.exe

'hello.exe' is not recognized as an internal or external command, operable program or batch file.

Is this a permission issue? As far as I can tell, it produces every other file, just not the .exe.

Best wishes,
Noah G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20160807/07d63e77/attachment.html>