[mercury-users] Installation of the csharp grade

Peter Ross pro at missioncriticalit.com
Mon Jan 9 15:08:07 AEDT 2012

On 9 January 2012 14:56, Julien Fischer wrote:
> On Mon, 9 Jan 2012, Julien Fischer wrote:
>> On Mon, 9 Jan 2012, Peter Ross wrote:
>>> Hi,
>>> I've tried installing the C# grade under windows for both 11.01 and
>>> 11.07, and the both fail.
>>> I have installed cygwin and MS Windows SDK for Windows 7 and .NET 4.0.
>>> The problem is that a command line in the format
>>>  csc Mercury/css/array.cs ...
>>> is generated when building the standard library, and the version of
>>> csc from that windows SDK doesn't like the forward slash path
>>> separator.
>>> Has anyone else managed to build using the MS tools?
>> Yes, both 11.01 and 11.07 build for me on Windows under MinGW/MSYS.
>> It's possible that Cygwin's path tranlsation is messing things up.
> I will take a look at this on my machine.  Pete, can you please send
> me a complete log of what you actually did, e.g. how configure was
> invoked etc.
Install Microsoft Windows SDK (I installed the lastest Windows SDK,
windows 7 and .NET 4.0)

Edit cygwin.bat to call SetEnv.cmd from the Windows SDK.

Start cygwin via the "Cygwin Bast Shell", not "Cygwin Terminal"

./configure --prefix /usr/local/mercury-11.07

make install PARALLEL=-j2

The MLOBJS in library/Mmakefile needs one extra level of backslash
quoting, other wise you get an error ..runtimemercury_dotnet.cs not
found, but once that is fixed you get errors about not being able to
find array.cs, etc., etc.

mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au

More information about the users mailing list