
On 16 July 2005 08:42, Dinko Tenev wrote:
BTW, I tried to compile the file with the installed ghc, and I am kind of puzzled by the error message I get:
ghc -O -fasm -W -fno-warn-unused-matches -fwarn-unused-imports -ignore-package haskell-src -package base -fgenerics -hisuf p_hi -hcsuf p_hc -osuf p_o -prof -c Language/Haskell/Syntax.hs -o Language/Haskell/Syntax.p_o -ohi Language/Haskell/Syntax.p_hi ghc-6.2.2: -ohi can only be used when compiling a single source file Usage: For basic information, try the `--help' option.
How am I trying to compile anything other than a single source file here???
You might be picking up the wrong version of ghc here. My guess is that the -ignore-package option is being interpreted as a -i flag by an older version of GHC. Cheers, Simon

On 7/18/05, Simon Marlow
You might be picking up the wrong version of ghc here. My guess is that the -ignore-package option is being interpreted as a -i flag by an older version of GHC.
Hm...I have 6.2.2 installed, which may qualify for being an "older version," but how is it being the "wrong" one? Or are those options intended specifically for the ghc currently being built? For that matter, does, by chance, the current snapshot require 6.4 to build? Cheers, Dinko
participants (2)
-
Dinko Tenev
-
Simon Marlow