'ghc --version' problem

Alson Kemp akemp at MIT.EDU
Mon Jan 24 10:43:18 EST 2005


  I was just trying to compile a package using ghc-6.3.3 and came up against a
problem with the '--version'flag.  Specifically, I don't think that 'ghc-6.3.3
--version' doesn't report the version to stdout.

# ghc-6.3.3 --version > conftest
# cat conftest
 [conftest is empty]

#ghc-6.2 --version > conftest
# cat conftest
The Glorious Glasgow Haskell Compilation System, version 6.2.2

I've looked through ghc/compiler/main/DriverFlags.hs, but both older and newer
versions seem to report --version through stdout, so I'm not sure where the
problem is.

  - Alson


More information about the Glasgow-haskell-users mailing list