[mercury-users] Getting the cygwin version to run on windows

Tyson Dowd trd at cs.mu.OZ.AU
Mon Mar 11 15:13:17 AEDT 2002

On 10-Mar-2002, Doug Ransom <doug_ransom at telus.net> wrote:
> I have installed cygwin, gcc, & mercury.  I even have the path set to
> include the correct directory for mmc.
> Unfortunately the cygwin shell does not recognize mmc, mdb, etc.
> probably because of the file extension -- running 'sh mmc' seems to
> start up the compiler, although I have not run any compiles yet.  
> Is there a shell setting or environment  variable required for the
> shell to pick up the mercury commands?

I have never encountered this problem -- on my cygwin installation these
commands work just fine.

> It is really hard to get mercury going under windows.

It would be useful if you could you explain what you found hard.

> Is there any work on a port that does not require cygwin?  

> Perhaps if mercury can
> compile itself to the ECMA common language runtime (AKA the  Microsoft
> .net common language runtime) cygwin won't be required?

Cygwin is not required for compilation -- Mercury is capable of using
Visual C++ to compile the C the it outputs. 

Cygwin is mostly required for mmake.  Targetting .NET will not reduce
our dependency on Cygwin, because mmake is a shell script, not a Mercury

Simon Taylor is currently working on moving the functionality of mmake
into the compiler.  This will reduce our dependency on cygwin a lot.

(We do already target .NET but not quite well enough for the compiler
itself to run in .NET).

       Tyson Dowd           # 
                            #  Surreal humour isn't everyone's cup of fur.
     trd at cs.mu.oz.au        # 
http://www.cs.mu.oz.au/~trd #
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe

More information about the users mailing list