GP 2

The Graph Programming Language

Building the GP 2 Compiler

To build the compiler, first download the files from the GP 2 Github Page. Then in the folder GP2/Compiler run the following commands.

  1. autoreconf -i; autoconf -i; automake -a
  2. ./configure
  3. make dist
  4. tar -xzvf gp2-1.0.tar.gz; cd gp2-1.0
  5. ./configure --prefix=<path_to_build_directory> where <path_to_build_directory> is where you want the compiler to reside.
  6. cp ../lib/*.{c,h} lib/
  7. make
  8. make install