5. Embedded QUEL for Ada : Precompiling, Compiling and Linking an EQUEL Program : Generating an Executable Program : Entering EQUEL Package Specifications
 
Share this page                  
Entering EQUEL Package Specifications
Once you have set up an Ada program library, you must add two EQUEL units to your library. The units are package specifications that describe to the Ada compiler all the calls that the preprocessor generates. The source for both these units is in the file:
ii_system:[ingres.files]eqdef.ada
After you have defined your current program library by means of the acs set library command, you should enter the two units into your program library by issuing the following commands:
$ copy ii_system:[ingres.files]eqdef.ada []
$ ada eqdef.ada
$ delete eqdef.ada
The last step is not needed if you intend to compile the closure of a particular program from the source files at a later date. However, you should not modify the file if it is left in your directory.
The two EQUEL units need only be entered once into your program library. Of course, if a new release of EQUEL/Ada includes modifications to the file "eqdef.ada," the file should be copied and recompiled.
By issuing the following command, you will find the two new unit names "EQUEL" and "EQUEL_FORMS" in the library.
$ acs dir equel*