|
RE: mysterious directory include error: msg#00050lang.haskell.glasgow.bugs
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: problems building ghc 6.4.1_pre using 6.4 with multiplecabalversions installed, Simon Marlow |
|---|---|
| Next by Date: | RE: runghc takes modules from current working directory, Simon Marlow |
| Previous by Thread: | Re: mysterious directory include error, Frederik Eaton |
| Next by Thread: | [ ghc-Bugs-1266898 ] parse error way too late, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |