> It would be nice if ghc-pkg had options to display the value 
> of $libdir 
> or at least the given conf file. I'm trying to get my 
> Autotools configure 
> script to find Rts.h, and it's a bit of a pain. My current 
> approach is to 
> use "readlink -f `which ghc`" and get it from there, but that 
> fails with 
> the latest MacOS X version because it uses small shell 
> scripts in unusual 
> places instead of symlinks.

'ghc -v' will tell you the location of package.conf, which for a normal
GHC install is located in $libdir.  Does that help?

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to