[mercury-users] Error: posix incompatible with --csharp-compiler-type microsoft

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Jan 20 14:17:43 AEDT 2012


On Thu, 19 Jan 2012, Jeff Thompson wrote:

> I built the latest beta release mercury-11.07.1-beta-2012-01-18 in cygwin on 
> Windows 7 with make install LIBGRADES=csharp.  This has worked for me many 
> times before, especially the stable 11.07 release.  Now, when I make with:
>
> $ /usr/local/mercury-11.07.1-beta-2012-01-18/bin/mercury.bat 
> --mercury-stdlib-dir /usr/local/mercury-11.07.1-beta-2012-01-18/lib/mercury 
> -m --csharp testMercury
>
> it gives the error:
>
> mercury_compile: `--host-env-type posix` is incompatible with
>  `--csharp-compiler-type microsoft'.
> Mercury Compiler, version 11.07.1-beta-2012-01-18, configured for 
> i686-pc-cygwin
>
> Any hints on how to fix?

Give the compiler the option --env-type=cygwin.  (See the
--env-type, --host-env-type and --target-env-type opions for details.)

Julien.
--------------------------------------------------------------------------
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