-
Notifications
You must be signed in to change notification settings - Fork 41
ARM Builds
cetinsert edited this page Aug 25, 2012
·
58 revisions
Resulting binaries work on a variety of ARM devices with other GNU/Linux distributions than Debian as well.
PortFusion with Debian SID ARMel Versatile
-
haskell-platform
>= 2012.2.0.0
-
llvm
>= 3
cabal update
cabal install splice -f llvm
cabal install PortFusion -f llvm
Drop -f llvm
if you want to use GHC's native code generator instead.
~/.cabal/bin/PortFusion
Experience with haskell-platform
@ 2012.2.0.0
using QEMU:
-
cabal update
seems to hang but eventually finishes - no Haskell librararies are needed except what ships with
haskell-platform
- compilation takes around 3.10 (minutes.seconds)
- linking takes around 0.15 (minutes.seconds)
- resulting binary is stripped, its size is 5 MB
- static linking does not work; so
libgmp.so.10
is needed:- install from Debian repositories:
sudo apt-get install libgmp
- download from CORSIS Research
- install from Debian repositories: