RE: GHC 6.4 release candidates available

On 10 February 2005 15:13, Malcolm Wallace wrote:
"Simon Marlow"
writes: We are finally at the release candidate stage for GHC 6.4. Please test if you're able to, and give us feedback.
In versions 5.00 <= ghc <= 6.2.2, the result of
ghc -v 2>&1 | head -2
was something like
Glasgow Haskell Compiler, Version 6.2.2, .... Using package config file: /grp/haskell/lib/ghc-6.2.2/package.conf
whereas with 6.4, these two lines have been swapped:
Reading package config file: /usr/malcolm/local/lib/ghc-6.4.20050209/package.conf Glasgow Haskell Compiler, Version 6.4.20050209, ....
and the "Using package config" message has become "Reading package config". These changes are minor and unnecessary: in particular they make the detection of configuration information (by hmake) rather more complicated than it ought to be. I know this is a pretty trivial complaint, but the -v behaviour has been stable for a few years now, so why change it arbitrarily?
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 :-) Cheers, Simon

"Simon Marlow"
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...? Regards, Malcolm
participants (2)
-
Malcolm Wallace
-
Simon Marlow