Problem building GHC

Dinko Tenev dinko.tenev at
Sat Jul 16 03:41:35 EDT 2005

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???


D. Tenev

More information about the Glasgow-haskell-users mailing list