GHC running on powerpc-unknown-linux!

Sven Moritz Hallberg 1hallber@informatik.uni-hamburg.de
Fri, 11 Apr 2003 22:02:29 +0200


Greetings!

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

    http://shapr.homelinux.net/~pesco/

which now contains the following:

    ghc-4.08.2-hc-unreg.tar.bz2
        unregisterised HC files for GHC 4.08.2
    ghc-4.08.2-powerpc-unknown-linux.tar.bz2
        an unregisterised binary-dist of GHC 4 without profiling libraries
        or documentation
    ghc-5.04.3-powerpc-unknown-linux.tar.bz2
        an unregisterised binary-dist of GHC 5 with profiling libraries,
        documentation, and a broken GHCi
    ghc-5.04.3-linuxppc.diff
        a patch with all the changes I made to the GHC 5 sources from which
        the above compiler was built
    experience.txt
        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.


Thanks,
Sven Moritz Hallberg