[m-users.] Compiler trouble

Roger Qiu roger.qiu at matrix.ai
Sun Aug 7 12:07:05 AEST 2016


I think if you're on the windows commandline, you might need a relative or
absolute path like `./hello.exe`. Try powershell as well.
On 07/08/2016 12:04 PM, "Noah Scott Goldman" <noahsg at badmousedriver.xyz>
wrote:

> 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.
>
> _______________________________________________
> users mailing list
> users at lists.mercurylang.org
> https://lists.mercurylang.org/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20160807/e1249d59/attachment.html>


More information about the users mailing list