ghc-pkg

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Tue, 2 Oct 2001 11:55:57 +0100


I notice that the method for detecting the configuration of ghc (for
building 'hmake') no longer works with 5.02.  This must be the most
unstable part of ghc - I've had to change it at 4.06, 4.08, 5.00,
and now 5.02 as well!

    > ghc-pkg-5.00 --show-package std --field import_dirs
    /usr/malcolm/local/lib/ghc-5.00/imports/std
    > ghc-pkg-5.02 --show-package std --field import_dirs
    $libdir/imports/std

There does not appear to be any way to persuade the new ghc-pkg to
reveal what $libdir is set to.  Can someone give me a clue how to
discover this information?

Regards,
    Malcolm