Can't compile GHC

Simon Marlow simonmar at microsoft.com
Mon May 9 11:58:35 EDT 2005


On 09 May 2005 16:03, Daniel Carrera wrote:

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

It is possible to compile GHC without having GHC installed, there are
detailed instructions in the Building Guide.  Indeed you found the
instructions, but gave up because the instructions talked about
"porting".  So is that all you're complaining about?

While it's a bit fiddly to get GHC up for the first time, you only have
to do it once.  Hence, making this easier is not a top priority.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list