Hi Folks,

I have now managed to build TclHaskell for Hugs on Solaris using gcc
(2.95.2) and GNU Binutils (2.9.1), in other words, with an up-to-date
gcc and gnu linker.  The problem is generating a TclPrim.so file that 
can be dynamically loaded by Haskell Direct when TclPrim.hs is loaded.

The main change I had to make to the distribution was to change the
shared options in src/makefile to:

SLD_OPTS = -fPIC -shared        # (binutils 2.9.1)

It may also work (on Solaris) with `-fPIC -r', but I haven't tried it.

Cheers,

Chris Dornan
[EMAIL PROTECTED]




Reply via email to