
18 Apr
2002
18 Apr
'02
8:38 a.m.
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