Can't compile GHC

Daniel Carrera dcarrera at
Mon May 9 11:03:04 EDT 2005

robert dockins wrote:

> Perhaps.  Nonetheless it is common practice for compilers to be written 
> in the target language and to be compiled via bootstrapping.  Ever take 
> a look at the GCC sources?  You guessed it: C.

Please don't confuse the compiler being written in the target language 
with the compiler requiring itself. It should be possible to compile it 
with a compiler for a /different/ language.

You can compile gcc with Sun's CC. You should be able to compile ghc 
with nh98.

> If this is the binary you found, it is possible you have an incorrect 
> version of GCC.

No, that's not it. I have 2.95

$ gcc --version


More information about the Glasgow-haskell-users mailing list