[英]Windows mistakes mmc for Microsoft Management Console when it should be Melbourne Mercury Compiler
I took these steps: 我采取了以下步骤:
download windows binary Mercury 14.01 (Visual Studio 2013 32bit)
(this is near the bottom of http://dl.mercurylang.org/index.html)
double click the downloaded file (it's a .exe file), it installed into 'C:\mercury-14.01-vs2013\
add 'C:\mercury-14.01-vs2013\bin' to Path
open a cmd.exe window
create file hello.m from Ralph Beckett's intro
add the hello.m file to 'C:\mercury-14.01-vs2013\bin' (illogical, Captain)
in the cmd.exe window type 'mmc --make hello'
but Windows brings up a dialog for Microsoft Management Console. 但是Windows会弹出一个Microsoft管理控制台对话框。
How do I invoke the Melbourne Mercury 14 Compiler on a .m file? 如何在.m文件中调用Melbourne Mercury 14编译器? Previous stackoverflow question is for Mercury 11.07.1 and refers to README files which aren't in Mercury 14.
先前的stackoverflow问题是针对Mercury 11.07.1的,它引用了Mercury 14中没有的README文件。
Mercury fits into my hoped-for cross-platform toolchain: Mercury适合我希望的跨平台工具链:
exploratory Prolog -> Mercury -> .NET -> Xamarin.Forms in Visual Studio -> all app stores
platforms: Windows 10, Mercury 14, Visual Studio Community 2017 平台:Windows 10,Mercury 14,Visual Studio Community 2017
It matters where in the path it is. 它在路径中的哪个位置都很重要。 Try
尝试
c:\>set path=C:\mercury-14.01-vs2013\bin;%path%
c:\>mmc
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.