Couldn't resist the temptation to install STGHugs on my
Solaris Box ;-). Here are the results (YES, it works!):
gcc did not like
#warn foreign export not implemented on this architecture
in `fptools/ghc/rts/ForeignCall.c' (I commented this out).
The constants
`R_386_32' and `R_386_PC32'
in `fptools/ghc/interpreter/interface.c' are unknown (commented the
relevant lines out).
The linker couldn't find the library `-lbfd', so I deleted this
argument.
To start hugs I had to set the env variable
`LD_LIBRARY_PATH' to `/home/III/a/ralf/Hugs/fptools/ghc/interpreter'
Tested hugs with a few files. The first incompatibility I found is
that STGHugs cannot derive `Enum' for enumeration types:
> data T = A | B deriving (Enum)
generates
ERROR "./Test.lhs" (line 1): Implementation of enumFromThen requires extra context
*** Expected type : Enum T => T -> T -> [T]
*** Missing context : Ord T
but works smoothly under G-machine Hugs.
That's it,
Ralf