I am using Arch Linux Arm hard float and there isn't any binary packages for GHC available for armv6. How would you cross compile GHC for the Raspberry Pi so that I can compile Haskell code? Is the .deb package compatible with the Arch Linux ARM userspace? How would I install GHC from there?
|
|
This is known as a bootstrap problem and is often encountered when cross compiling scripting languages. For example, Python has (or had) similar problems. It's one of the trickiest (and most annoying) issues you'll face when doing embedded work. There's some info here: http://hackage.haskell.org/trac/ghc/wiki/CrossCompilation I know it's bad form to just post links on Stack Exchange but since I have zero Haskell experience that's the best I can do. |
|||
|
|
|
You won't be able to install debian .deb files on Arch as it uses pacman to manage packages instead of aptitude. You can just |
|||||||||
|
