Hello!
Has anyone already got Fudgets to compile with GHC?
I tried today, using the h12 release and some incarnation of
GHC 4.03.
The "official" way involves some lmlmake thing from the hbc
distribution (which I didn't get bootstrapped on my arch, which
is i386-OpenBSD). So I tried an inofficial way:
I collected the relevant Haskell sources into an own directory,
wrote a small Makefile like this:
OBJS=(list of target .o files)
SRCS=${OBJS:.o=.hs}
all: ${OBJS}
depend:
mkdependHS -syslib exts -syslib misc ${SRCS}
%.o: %.hs
ghc -fglasgow-exts -O2 -O2-for-C -syslib exts -syslib misc $<
Then I did gmake depend, then gmake.
After a while, some successfully compiled modules, some small H'98
adjustments (comments like "--@@ blarfl"), I got stuck
on a huge cluster of circular dependencies, without any .hi-boot
files provided anywhere.
And the circularly imported interfaces seemed very big, so it was
much too tedious to write .hi-boot files from scratch.
Any hints?
Regards, Hannah.