> Does anybody know how to install the hugs graphics library with Mac
> OS X using XDarwin?  I tried a couple of things that didn't work and
> figured that somebody has probably sorted this out.

Warren arranged access to his machine for me and we got it sorted out.

Anyone else wanting to use HGL with Hugs on Darwin should:

Fetch Hugs from the CVS repository and build/install in the normal way.
(Small changes made in the dynamic loading code.)

Fetch HGL from the webpage (http://haskell.org/graphics/).

Add this line to graphics-2.0.4/lib/x11/Makefile:

     LDFLAGS_MKSO.MacOSX   = -bundle -lc

Build using the command:

     make system=MacOSX CC=cc LD=cc


Enjoy!

--
Alastair Reid      Reid Consulting (UK) Ltd
_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to