shapr wrote:I've installed the debian image on my raspberry pi, and it has ghc6 debs available...
But I'd like to use ghc 7.4.1, does anyone know if there's an apt source available for ghc 7.4.1 on armel?
shapr on #haskell
Hi shapr, so I've been looking into this after getting annoyed with 6.12.3!
On the wheezy sources of Debian you can install GHC 7.4.1 on your system and (so far) everything seems to work OK except GHCI - which doesn't work with ARM anyway. I haven't actually tested it on the Pi, I'm running it through QEMU as I don't want to replace my installation of Arch on my 'Pi.
I'm not sure how to get 7.4.x installed on Arch Linux unfortunately, and building GHC from scratch on the Pi is a non-starter as the memory on the device is too low.
So my current "solution" is to
a) Write haskell programs on my Mac
b) Start up a VM with ubuntu running on it
c) Inside the VM start an instance of QEMU to emulate an ARM processor and boot the debian image
d) Inside the VM and then inside the QEMU ARM VM retrieve my haskell code from my mac and compile it into an executable
e) Transfer this via SSH to my Pi and run the code
Arduous process but it works!