ARM Builds - corsis/PortFusion GitHub Wiki
Resulting binaries work on a variety of ARM devices with other GNU/Linux distributions than Debian as well.
Build 1.2.1
Prerequisites
- Debian SID ARMel Versatile
haskell-platform
>= 2012.2.0.0llvm
>= 3 (optional)
Instructions
cabal update
cabal install splice -f "llvm -portable"
cabal install PortFusion -f "llvm threaded"
Test
~/.cabal/bin/PortFusion
QEMU
Notes withcabal 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 on target devices:- install from Debian repositories:
sudo apt-get install libgmp
- download from CORSIS Research
- install from Debian repositories: