On 13 September 2005 00:25, Frederik Eaton wrote:
>>> Works for me with a 6.4.1 snapshot.
>>
>> I've upgraded to 6.4.1.20050903 and it still doesn't work. Did you
>> remember to create the empty directory 'foo'?
>>
>> Of course, I think there are two things wrong: (1) the fact that it
>> doesn't work, (2) the fact that the error message is uninformative.
>
> Oh, I'm sorry, it's possible that I was using the wrong version. I
> think /usr/bin/runghc is version 6.4. However, it strangely reports
> being version 6.4.1:
>
> $ /usr/bin/runghc --version
> The Glorious Glasgow Haskell Compilation System, version
> 6.4.1.20050903 $ /usr/bin/ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.4
> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version
> 6.4.1.20050903 $ runghc --version
> runghc: syntax: runghc [-f GHCPATH] [GHC-ARGS] FILE ARG...[1]$
>
> When I use the newer version I am unable to reproduce the problem.
>
> (by the way, it would be nice if --version and --help were functional
> in the newer versions of runghc)
This happens because runghc uses whatever ghc is on your path, and it
passes any flags it doesn't understand to that ghc.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs