The AADL language is used be several technologies, such as TASTE or POK. However, the initial tool maintainer no longer supports it. Fortunately, there is a fork of Ocarina with new features and functionalities. It is developed in the context of the TASTE project.

To install it, you have first to download the sources here: http://download.tuxfamily.org/taste/snapshots/sources/ocarina/ (take the latest version http://download.tuxfamily.org/taste/snapshots/sources/ocarina/ocarina-current.tar.gz )

Then, you have to compile and install it. Extract the sources and issue the following commands in the extracted sources directory:

  1. ./configure
  2. make
  3. make install

You may encounter some issues, so, make sure you have all requirements, such as having an Ada compiler (available with the gnat package on most Linux distributions for example). If you are looking for the official Ada compiler, you can get it on the Adacore free software portal.

Finally, make sure Ocarina is installed and works correctly. For that, try to invoke the ocarina command (make sure the Ocarina installation directory is also in your PATH).

Using code generation functions

Finally, to be able to generate code, Ocarina should has a runtime subdirectory in the include installation directory. Consequently, if you want to use these functions, you must create this directory if it does not exist. You can do that by creating (with mkdir for example) the include/ocarina/runtime directory in the Ocarina installation directory. You can do that using the following command:

mkdir `ocarina-config --prefix`/include/ocarina/runtime

Installing PolyORB-HI-C

If you want to use PolyORB-HI-C with the generated code, you have to install it. As it is also no longer supported by the original maintainer, it is available on TASTE download area here : http://download.tuxfamily.org/taste/snapshots/sources/po-hi-c/ and the current (lastest) version available here.

Before installing PolyORB-HI-C, you must have a working installation of Ocarina, as detailed before. Then, once you got the archive, extract it and run the following command in the sources tree:

  1. ./configure
  2. make install

Using the Virtual Machine installation

There is also a possibility for using Ocarina, PolyORB-HI-C and POK without installing it. We provide an up-to-date installation of Ocarina and PolyORB-HI-C in a virtual machine. It is available under the VMWare virtual machine format and can be used with VMWare Player. However, you can also use VirtualBox to use it. The virtual machine image is available here: http://download.tuxfamily.org/taste/taste-vm.tar.gz