GHC running on powerpc-unknown-linux!

Sven Moritz Hallberg
Fri, 11 Apr 2003 22:02:29 +0200


Finally, I have the honor to report my success in bootstrapping an
unregisterised incarnation of the Glorious Glasgow Haskell Compilation
System version 5.04.3 on my PowerBook G4 running Gentoo Linux!

Unfortunately I have not been able to bring to life the dynamic linker
due to relocation troubles... Anyone familiar with ELF relocations on
PowerPC Linux (i.e. as described in the System V ABI PowerPC Supplement)
feel free to have a look at do_Elf_Rela_relocations() in ghc/rts/Linker.c!

Shae Erisson generously lent me some webspace at

which now contains the following:

        unregisterised HC files for GHC 4.08.2
        an unregisterised binary-dist of GHC 4 without profiling libraries
        or documentation
        an unregisterised binary-dist of GHC 5 with profiling libraries,
        documentation, and a broken GHCi
        a patch with all the changes I made to the GHC 5 sources from which
        the above compiler was built
        a diary of what I did on my way from HC files to a working GHC 5;
        this might be worth keeping (maybe linked from the GHC commentary
        or so)

Since the machine hosting this is Shae's home internet gateway, I'm kindly
asking you to publish the files on the GHC webspace.

Sven Moritz Hallberg