
Jeremy Good stuff! Often when you do something like this you learn a lot of things you wish you'd known at the outset. Do please consider adding anything you have learned to the GHC developer's Wiki http://hackage.haskell.org/trac/ghc That way you'd help someone else avoid the things that held you up. This'd be particularly useful at the moment, because my impression is that more people are setting about porting GHC. The obvious place would be under "Developer documentation". Simon | -----Original Message----- | From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users- | bounces@haskell.org] On Behalf Of Jeremy Shaw | Sent: 04 May 2006 06:06 | To: GHC Users Mailing List | Subject: Unregisterised GHC 6.4.2 on the ARM success -- now what? | | Hello, | | I believe I have successfully got an unregisterised version of ghc | 6.4.2 compiled for arm/linux. | | Details: | ------- | | I only had to do a minor bit of hacking -- this bug contains the | details of what went wrong: | | http://hackage.haskell.org/trac/ghc/ticket/762 | | My target platform is the nokia 770 which runs linux and has an arm9 | processor. I compiled ghc using the standard nokia 770 | cross-development tools. These consist of a debian-based distro named | maemo running inside scratchbox using QEMU to emulate the ARM | processor. | | I have successfully compiled a "hello, world!" program and run the | executable on the real nokia 770 device. | | What Next? | ---------- | | The next step appears to be to registerise the build. I found a | document that describes the C calling conventions for the ARM: | | http://www.arm.com/miscPDFs/8031.pdf | | I think the next step is to add an ARM section to: | | ghc/includes/MachRegs.h | | Is there some sensible method for doing this and testing it before I | tackle the other pieces ? | | Thanks! | j. | | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users