Last active
September 16, 2015 13:16
-
-
Save master-q/ff2a44acc60455ec01b2 to your computer and use it in GitHub Desktop.
Install ATS compiler from github source code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install autoconf git libgc-dev libgmp3-dev | |
$ w3m http://sourceforge.net/projects/ats-lang/files/ats-lang/ | |
$ tar xf ats-lang-anairiats-0.2.12.tgz | |
$ export ATSHOME=${PWD}/ats-lang-anairiats-0.2.12 | |
$ export ATSHOMERELOC=ATS-0.2.12 | |
$ cd ats-lang-anairiats-0.2.12/ | |
$ ./configure | |
$ make all | |
$ cd .. | |
$ export PATSHOME=${PWD}/ATS-Postiats | |
$ export PATSHOMERELOC=${PWD}/ATS-Postiats-contrib | |
$ export PATH=${PATH}:${PATSHOME}/bin | |
$ git clone https://github.com/githwxi/ATS-Postiats.git | |
$ git clone https://github.com/githwxi/ATS-Postiats-contrib.git | |
$ cd ATS-Postiats/ | |
$ make -f Makefile_devl all | |
$ patsopt --version | |
ATS/Postiats version 0.2.3 with Copyright (c) 2011-2015 Hongwei Xi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment