[mercury-users] Mercury for Win32 under Visual C? Was: Re: Mercury for Mac ?

Fergus Henderson fjh at cs.mu.oz.au
Sat Nov 8 06:37:43 AEDT 1997


Alexander Voinov wrote:
> 
> And what about the situation when a Mercury module should be incorporated
> into existing Visual C/MFC based code?
> What is better?
> 1. To port this application to gnu-win32 (with or without MFC)?
>    This way, e.g. the absence of precompiled headers makes gcc very tedious 
>    to work with large C++ libraries.
> 2. To tune Mercury win32 port to become friendly to Visual C at least at
>    the last stage -- generation of code?
> 
> Is the second item implemented by anyone in Mercury community?

The current Mercury port to win32 uses gnu-win32, which is a fairly
complete Unix emulation library.  I've been thinking about trying a
more "native" port, still using some of the tools from gnu-win32 (e.g.
GNU Make for Mmake, etc.), but using the gcc from mingw32, the
"minimal" version of gnu-win32, which generates native Win32
executables that don't depend on cygwin.dll.  From what I have heard,
programs built with mingw32 can interface with Visual C/MFC code
without difficulty.

As yet, I didn't get any further than downloading mingw32, though.
As usual, volunteers are very welcome ;-)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the users mailing list