[Haskell-cafe] hmake and ghc-6.6
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Wed Nov 1 12:04:48 EST 2006
"Alexey Rodriguez" <mrchebas at gmail.com> wrote:
> I have been trying to build hmake 3.12 using ghc-6.6 on a Fedora Core
> Linux running on a dual 64-bit Opteron machine. However, I had the
> following error related to the readline library:
> ...
> I googled for this error and I saw the following thread in which
> Malcolm suggested having a fix.
> http://www.nabble.com/hmake-and-GHC-6.6-t2531880.html
> I tried to locate hmake's repository but to no avail. There is no link
> to it from www.haskell.org/hmake and the hmake in the nhc repository
> is the same as the hmake I downloaded.
hmake does indeed live in the nhc98 darcs repository at
http://darcs.haskell.org/nhc98
>From there, you can do a 'make hmakeDist' which will package up a
tarball of just the parts needed to build hmake. I will also make a
proper bugfix release soon.
> P.S. A related question, has any of you tried to build ghc using hat?
> I am trying to do this to study ghc's internals
I'm pretty sure you will not get ghc to build with Hat. The source code
of ghc uses many glasgow extensions, not all of which are (yet) handled
by Hat's parser. The unsupported ones include at least unboxed types,
and pattern guards. (MPTC, fundeps, existentials etc are OK however).
Regards,
Malcolm
More information about the Haskell-Cafe
mailing list