ghc needing ghc is the biggest bug in ghc
Arthur van Leeuwen
arthurvl at cs.uu.nl
Mon Mar 13 07:10:34 EST 2006
On 10-mrt-2006, at 8:54, Dennis Heuer wrote:
> Are you fully nerd???? How can ghc expect an installed ghc for the
> first build stage????? What is that???? See how gcc does it. It
> creates
> a basic C compiler in the first stage and then compiles the
> further stages with that. Your strategy shows that you just don't
> care.
> So don't expect that admins are happy about your offer...
>
> Man, unbelievable....
Yes, and no. It is perfectly possible to bootstrap from .hc files,
which basically is a partial compilation of the ghc sources to
C. Unfortunately, these .hc files are (by necessity) machine
dependent, so you are not normally encouraged to take that route.
It is documented fairly well though, even so, at
http://www.haskell.org/ghc/docs/latest/html/building/sec-porting-
ghc.html#sec-booting-from-hc
With regards, Arthur van Leeuwen.
PS: you *do* need a C compiler to bootstrap GCC... in fact, to bootstrap
the GCC ADA compiler, you already need an installation of same.
Do you also consider that to be a serious bug?
--
/\ / | arthurvl at cs.uu.nl | Work like you don't need
the money
/__\ / | A friend is someone with whom | Love like you have never
been hurt
/ \/__ | you can dare to be yourself | Dance like there's nobody
watching
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20060313/141ba974/PGP.bin
More information about the Glasgow-haskell-bugs
mailing list