[m-users.] Java grade missing!!?!?

Julien Fischer jfischer at opturion.com
Thu Aug 1 16:16:13 AEST 2019


On Thu, 1 Aug 2019, Richard O'Keefe wrote:

> On the subject of --output-libgrades
> 
> % mmc --output-libgrades
> mercury_compile:
> `--host-env-type posix' is incompatible with `--csharp-compiler-type
>   microsoft'.
> % csc /help
> Microsoft (R) Visual C# Compiler version 3.100.19.26603 (9d80dea7)
> Copyright (C) Microsoft Corporation. All rights reserved.
> 
> This is Ubuntu 18.04, and the C# compiler is definitely the Microsoft
> one, and they are quite compatible with each other.  Not even a home-
> brew installation:
> libmono-csharp4.0c-cil/stable-bionic,stable-bionic,now 6.0.0.313-0xamarin3+ubuntu1804b1 all [installed,automatic]
> libmono-microsoft-csharp4.0-cil/stable-bionic,stable-bionic,now 6.0.0.313-0xamarin3+ubuntu1804b1 all [installed,automatic]
> mono-csharp-shell/stable-bionic,stable-bionic,now 6.0.0.313-0xamarin3+ubuntu1804b1 all [installed,automatic]
> 
> So why is mmc unhappy?

What version of Mercury is it?   Older versions of Mercury assumed that
the Microsoft C# compiler only ran on Windows (which was true at the
time).  That was fixed in the rotds some time ago.

Julien.


More information about the users mailing list