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

> "Simon Marlow" <[EMAIL PROTECTED]> 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
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to