Requirements:
=============
1. Java 1.6 (except GNU Java)
2. g++ (GCC) 4.4.0
3. make


Installation structure :
========================
  bin/             contains the BIP compiler executable
  bip-parts/       contains BIP libraries
  externals/       contains the libraries needed for BIP
  include/         contains BIP header files for the engines
  lib/             contains the BIP engine libraries
  examples/        contains some examples


Setup for command line execution:
=================================
Set the  environment variable "BIP2_HOME" to the BIP2 directory.

In bash shell:     $> export BIP2_HOME=_your_path_to_/BIP2
In tcsh (C-shell): $> setenv BIP2_HOME _your_path_to_/BIP2
 
Add $BIP2_HOME/bin to you path.


Setup for eclipse:
==================
The compiler is tested in eclipse 3.5 (europa).
Install eclipse, and copy the contents of 'plugins', and if needed 
'importedplugins' in the eclipse/plugins directory.


Running an example:
==================

1. Go to BIP2/examples, there is an example called prodcons.bip

2. Compile the example and generate the code by :

   $> $BIP2_HOME/bin/bipc -f prodcons.bip --genC-execute

   (this will generate the C++ application & a makefile)

3. Build the application by :

   $> make -f  prodcons.bip.mk

   (this will generate an executable named prodcons.bip.x)

4. Execute the application:

   $> ./prodcons.bip.x

   (it runs infinitely, do ^C to stop) 
