The following instructions assume a debian jessie based distribution
Install dependent tools and libraries
$ sudo apt-get update
$ sudo apt-get install libssl-dev automake autotools-dev
$ cd
$ git clone git clone https://github.com/luvit/pcre2
$ cd pcre2
$ touch NEWS AUTHORS
$ autoreconf -i
$ ./configure
$ make
$ sudo make install
$ wget http://llvm.org/releases/3.6.2/clang+llvm-3.6.2-armv7a-linux-gnueabihf.tar.xz
$ unxz clang+llvm-3.6.2-armv7a-linux-gnueabihf.tar.xz
$ tar xvf clang+llvm-3.6.2-armv7a-linux-gnueabihf.tar
$ cd clang+llvm-3.6.2-armv7a-linux-gnueabihf
$ export LD_LIBRARY_PATH=/path/to/clang+llvm-3.6.2-armv7a-linux-gnueabihf/lib
$ export PATH=/path/to/clang+llvm-3.6.2-armv7a-linux-gnueabihf/bin:$PATH
$ cd
$ git clone http://github.com/CausalityLtd/ponyc
$ cd ponyc
$ make
# tests might hang on regex/Regex.groups
$ make test
# clang/llvm not on PATH for sudo, so need to build small install script
$ cat <<'EOF' > install.sh
export PATH=/path/to/clang+llvm-3.6.2-armv7a-linux-gnueabihf/bin:$PATH
make install
EOF
$ sudo ./install.sh
Try running one of the examples
$ cd examples/httpget
$ ponyc
$ ./httpget http://www.google.com/