[nhc-bugs] Re: detecting ghc 5.00

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Wed, 23 May 2001 17:10:51 +0100


Wojciech Moczydlowski, Jr writes:
> First we look for already-installed Haskell compilers:
>   Looking for hbc... (not found)
>   Looking for ghc... ghc-5.00: unrecognised flag: --show-package

Apologies, line 162 in the patched script/confhc which now reads

    GHCDIR=`${whichGHC} --show-package std --field import_dirs`

should be 

    GHCDIR=`ghc-pkg --show-package std --field import_dirs`


> BTW, not removing targets/ix86-linux/config.cache and similar files when I
> rerun configure script is quite annoying.

Could you be more specific about what problems this causes?

Regards,
    Malcolm