.hc
) files
This section is for people trying to get GHC going by using the
supplied intermediate C (.hc
) files. This would probably be because
no binaries have been provided, or because the machine is not ``fully
supported.''
The intermediate C files are normally made available together with a source release, please check the announce message for exact directions of where to find them. If we've haven't made them available or you can't find them, please ask.
Assuming you've got them, unpack them on top of a fresh source tree. Then follow the `normal' instructions in Section Buiding From Source for setting up a build tree. When you invoke the configure script, you'll have to tell the script about your intentions:
foo% ./configure --enable-hc-booting
Assuming it configures OK and you don't need to create mk/build.mk
for any other purposes, the next step is to proceed with a make boot
followed by make all
.
That's the mechanics of the boot process, but, of course, if you're trying to boot on a platform that is not supported and significantly `different' from any of the supported ones, this is only the start of the adventure...(ToDo: porting tips - stuff to look out for, etc.)
The end product of this will (hopefully) be a binary of the
compiler proper, ghc/compiler/hsc
plus an archive of the Haskell
Prelude libraries.