Unregisterised GHC 6.4.2 on the ARM success -- now what?
simonpj at microsoft.com
Thu May 4 03:00:11 EDT 2006
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
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".
| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org
| bounces at 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?
| I believe I have successfully got an unregisterised version of ghc
| 6.4.2 compiled for arm/linux.
| I only had to do a minor bit of hacking -- this bug contains the
| details of what went wrong:
| 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
| 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:
| I think the next step is to add an ARM section to:
| Is there some sensible method for doing this and testing it before I
| tackle the other pieces ?
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
More information about the Glasgow-haskell-users