GHC 6.4 release candidates available

Simon Marlow simonmar at microsoft.com
Thu Feb 10 10:54:43 EST 2005


On 10 February 2005 15:36, Malcolm Wallace wrote:

> "Simon Marlow" <simonmar at microsoft.com> writes:
> 
>> Ok, fixed.  The right way to get the location of the package.conf
>> file is to ask ghc-pkg, BTW.  In fact, the right way is not to know
>> the location of package.conf at all, but to use ghc-pkg to query its
>> contents.  The contents of package.conf is proprietary :-)
> 
> And indeed hmake does use ghc-pkg, when it needs to find import
> directories etc.  But the thing is, previous versions of ghc-pkg
> reported such directories as e.g. "$libdir/base", and how do you find
> out what $libdir refers to...?

ghc --print-libdir

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list