ANN: C->Haskell 0.8.1
Marcin 'Qrczak' Kowalczyk
16 Feb 2001 09:21:51 GMT
Fri, 16 Feb 2001 18:42:08 +1100, Manuel M. T. Chakravarty <email@example.com> pisze:
> Now, everything should be checked in.
Seems OK, thanks.
ghc411hack_dir does not work for me again: ghc -M in build/ghc4/chs/lib
can't find NewStablePtr.hs (because there is only NewStablePtr.hs.in)
and the whole 'make depend' there fails, without removing files
conflicing with ghc' libraries. The failure of 'make depend' is
ignored and finally 'make' there fails to compile C2HS.hs.
> I thought that I had fixed all this for Gtk+HS. (In fact,
> all Gtk+HS examples are running fine with GHC 4.08 on my
> machine.) Have a look at the file gtk+hs/gtk/ghcRtsAux.c.
> It defines rts_mkPtr in a somewhat nasty way, but it works :-)
I've seen the hack, but on another box freshly installed ghc-4.08.2,
c2hs from tarball and gtk+hs from tarball did not work (linker can't
find rts_mkPtr). I must see if ghcRtsAux.c is compied at all there.
> PS: With the current Gtk+HS source in CVS, all Gtk+HS
> examples as well as the iHaskell library and its three
> examples should now all work again. I tested it all on
> my machine.
ghc version check fails on 4.11 (it should be lexicographic comparison
of version number components, not conjunction of independent
Checking for buggy readXXXOffAddr (for ghc-4.03..4.06) is now
unnecessary as gtk+hs requires ghc-4.08.1 anyway.
__("< Marcin Kowalczyk * firstname.lastname@example.org http://qrczak.ids.net.pl/
^^ SYGNATURA ZASTĘPCZA