Building the Ada framework

About this task

To use animation with IBM® Rational® Rhapsody® Developer for Ada, you must have version 3.13p of the GNAT compiler. Otherwise, you must recompile the framework.

To recompile the framework:

Procedure

  1. Install the Rational Rhapsody Developer for C framework source code. The Rational Rhapsody Developer for C framework is used to enable Rational Rhapsody Developer for Ada animation.
  2. Build the Ada behavioral libraries as follows:
    1. Open the model <Rhapsody>\Share\LangAda83\model\RiAServices.rpy.
    2. Generate and build the code.
    3. Build the animation C libraries using the makefile included in the directory <Rhapsody>\Share\LangC. For example:
            make -f AdaWinbuild.mak GNAT_HOME=e:/gnat/*
    Note: In GNAT 3.15p, the directory layout was modified. If you are using 3.15p and higher, update the C makefiles by replacing the string "mingw32" with the string "GNAT_WIN32_LIBS=pentium-mingw32msv" to the makefile invocation command.

Results

If you have several compilers installed on your machine, make sure that you invoke the make utility supplied by GNAT (verify that the GNAT\bin directory is added to your path before any other compiler).

Note: To compile the C framework with GNAT, you must install the Windows API support package as well as the Ada common package.

Feedback