INSTALL ======= This file contains the instructions to install the PNgen compiler. Requirements ------------ To be able to compile the modules you need several standard tools such as pkg-config, bison, flex, and libtool which may not be installed by default. If you are installing on Ubuntu, then you can install the packages libgmp3-dev, libyaml-dev, libntl-dev, libsyck0-dev and libxml2-dev through dpkg and then you can go straight to the installation of LLVM/clang and isa. Installing PNgen ---------------- You can install PNgen either automatically using the installer script (called setup_pngen.sh and located in the same directory as this file), or manually by following all the instructions mentioned below. ### Installation via Installer Script To install PNgen using the installer script, execute the following commands: mkdir pngen cd pngen wget http://daedalus.liacs.nl/pngen/release_20120706/setup_pngen.sh chmod +x setup_pngen.sh ./setup_pngen.sh [clean|nocheck] The script will automatically download and install all the packages needed by PNgen. If setup_pngen.sh is executed with no options, it invokes `make check` for all the packages which increases the installation time considerably. Therefore, you can execute it with the option `nocheck` which will skip invoking `make check` for all the packages. ### Manual Installation If, for any reason, setup_pngen.sh does not work, then you can follow the following instructions. We assume that you will install PNgen to /home/user/pngen extract GMP from the tar ball cd