Skip to content
Snippets Groups Projects
Commit 15b4e2a2 authored by Forget Julien's avatar Forget Julien
Browse files

Relecture.

parent 8a8dff95
Branches
No related tags found
No related merge requests found
...@@ -17,44 +17,42 @@ Libraries (development version): ...@@ -17,44 +17,42 @@ Libraries (development version):
* libxml2 * libxml2
* libxslt * libxslt
For example, on Ubuntu/Debian, all the dependencies can be installed by For example, on Ubuntu/Debian, all the dependencies can be installed by:
typing:
sudo apt install build-essential python2 git cmake flex bison libxml2-dev libxslt-dev ocaml gcc-arm-none-eabi sudo apt install build-essential python2 git cmake flex bison libxml2-dev libxslt-dev ocaml gcc-arm-none-eabi
## Installing OTAWA v2 ## ## Installing OTAWA v2 ##
Then, you can download and install OTAWA v2, from here: To download and install OTAWA v2, first download the following script
and execute it using python 2.7:
http://www.otawa.fr/
To downaload and install OTAWA, you first download the script
http://www.tracesgroup.net/otawa/packages/otawa-install.py http://www.tracesgroup.net/otawa/packages/otawa-install.py
then execute the script using python 2.7. *Warning*: the script is compatible with python 2.7 (NOT python 3). If
your default python installation is python3, you need to edit the first
line of `otawa-install.py` and replace `#!/usr/bin/python` by
`#!/usr/bin/python2`
The script is compatible with python 2.7 (NOT python 3). If your default python You will also need to install the OTAWA plugins for ARM, and
installation is python3, you need to edit the first line of otawa-install.py `lp-solve`. Go to `<otawa dir>/bin` (where `otawa dir` is the directory
and replace `#!/usr/bin/python` by `#!/usr/bin/python2` where you just installed otawa) and type:
You will probably need to install the OTAWA plugins for ARM, and lp-solve. python otawa-install.py otawa-arm otawa-lp_solve5
Go to the directory containing `otawa-install.py` and type:
./otawa-install.py -R <otawa dir> otawa-arm otawa-lp_solve5 *Warning*: to install plugins, do **not** use `otawa-install.py` in
`<otawa_dir>`.
where `<otawa dir>` is the desired OTAWA installation directory.
## Setting environment ## ## Setting the environment ##
You will need to do the following: Modify your environment variables as follows:
- put `<otawa dir>/bin` in your `PATH` environment variable - add `<otawa dir>/bin` to variable `PATH`
- put `<otawa dir>/lib` in your `LD_LIBRARY_PATH` environment variable - add `<otawa dir>/lib` to variable `LD_LIBRARY_PATH`
## Compiling the plug-ins ## ## Compiling the plug-ins ##
Go to the plugin source directory, then type make. Go to the plugin source directory, then type `make`.
## Using a plug-in ## ## Using a plug-in ##
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment