30.07.2013 Views

The Esterel v5 21 System Manual - Courses

The Esterel v5 21 System Manual - Courses

The Esterel v5 21 System Manual - Courses

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 1<br />

Getting Started<br />

1.1 Installing and Uninstalling the <strong>Esterel</strong> <strong>v5</strong> <strong>21</strong><br />

<strong>System</strong><br />

1.1.1 Unix <strong>System</strong>s<br />

<strong>The</strong> installation procedure is described in the README.txt file of the <strong>Esterel</strong><br />

<strong>v5</strong> <strong>21</strong> tar file. We recall it here:<br />

1. Extract the tar file directory and place it where you want it to stay.<br />

Be careful: this directory MUST remain permanently at the same<br />

location in your machine or network, since the installation procedure<br />

only builds symbolic links to the files it contains.<br />

2. Edit the Makefile file and set the definitions of the following 9 variables<br />

ESTEREL DISTRIB DIR, ESTEREL COMMAND, XES COMMAND,<br />

XESTEREL COMMAND, BIN DIR, LIB DIR, INCLUDE DIR, MAN1 DIR, and<br />

MAN3 DIR. <strong>The</strong>y control the location where the <strong>Esterel</strong> components<br />

will be accessible. <strong>The</strong> ESTEREL DISTRIB DIR defines the installation<br />

directory location. <strong>The</strong> <strong>Esterel</strong> automatic installation procedure can<br />

build links into appropriate places. For instance, assuming that <strong>Esterel</strong><br />

<strong>v5</strong> <strong>21</strong> is installed in /opt/esterel<strong>v5</strong> <strong>21</strong>, one may want to install<br />

the esterel command in /usr/local/bin, by creating a link:<br />

/usr/local/bin/esterel -> /opt/esterel<strong>v5</strong>_<strong>21</strong>/bin/esterel<br />

To do this, set the BIN DIR variable to /usr/local/bin. No link is created<br />

if the variable is left empty. <strong>The</strong> ESTEREL COMMAND, XES COMMAND<br />

3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!