Offer to help with WinHugs
Neil Mitchell
ndmitchell at gmail.com
Fri May 20 09:26:26 EDT 2005
Hi,
Attached is a patch which gets WinHugs back to life.
The Winframe.c change is just to remove an obsolete header file - it
turns on 3d look and feel on Win3.1, but its so old now that new
compilers don't ship with it, and it has no effect anyway.
The changes to Char.h and WinText.h fix up the output. Since WinHugs
last worked the program has moved to using unicode output functions,
which were not trapped. This traps them and redirects them towards the
WinHugs GUI.
With these changes, I can build WinHugs using Visual Studio.NET. The
haskell libraries I am using were hacked and mangled from the RPM's
released in 2005, with small changes. My next task will be to get them
building in a "better" way.
Thanks
Neil
On 5/19/05, Ross Paterson <ross at soi.city.ac.uk> wrote:
> On Thu, May 19, 2005 at 02:14:57PM +0100, Neil Mitchell wrote:
> > I've been using WinHugs for a few years now. I notice that the 2005
> > release does not contain Windows binaries, which I think is a shame,
> > because its a very nice environment for developing in (particularly
> > WinHugs). I am volunteering to get WinHugs building, compiled, and to
> > create an installer for it (as much as I can). I have years of
> > experience in Haskell and C++.
>
> Your help will be very welcome.
>
> > I have already checked out the CVS source for Hugs, and have the GUI
> > popping up (before failing to load the prelude, but I'm sure thats
> > minor).
>
> To make this work, you need to build the libraries (including
> the Prelude). Currently the only way to do this is with one of
> the Unix-like environments for Windows. I'd recommend MSYS + MinGW
> (http://www.mingw.org/). You also need to check out fptools/libraries
> and fptools/hslibs under your hugs source directory. Then 'make' in
> the top-level directory should build the interpreter and libraries.
> There may well be glitches with that step, but hopefully easily fixed.
> Then you'll have libraries that can be used with your WinHugs build.
>
> Hugs has recently switched to using Cabal to build its libraries.
> If Cabal worked properly on Windows, it might be possible to build them
> without the Unix-like environment, but that's another task.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winhugs_hugs98.patch
Type: application/octet-stream
Size: 1995 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/cvs-hugs/attachments/20050520/5ab67e86/winhugs_hugs98.obj
More information about the Cvs-hugs
mailing list