Graphics with XDarwin on Mac OS X
Johan Nordlander
nordland@cs.chalmers.se
Mon, 10 Jun 2002 16:39:27 +0200
On Sunday, June 9, 2002, at 11:31 , F. Warren Burton wrote:
> 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.
>
> Thanks,
> Warren
I made a quick attempt at installing the graphics library with
MacOS X in preparation for the Dec-2001 Hugs release, but I
wasn't able to get past some DLL related problems. This is were
I stopped:
ERROR "lib/x11/Xlib_StdDIS.hs" - Error while importing DLL
"/Users/nordland/src/graphics-2.0.4/lib/x11/Xlib_StdDIS.so":
Not an recognisable object file
BTW, getting this far requires replacing "-shared" with
"-dynamic", and "ld" with "libtools" in the Makefile, as well as
adding "-lSystem" to the definition of LDFLAGS.
I haven't found the motivation to investigate this problem any
further, though. Any thoughts, Alastair?
-- Johan