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 _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users