Linking an EQUEL Program--VMS
EQUEL programs require procedures from several VMS shared libraries in order to run properly. After preprocessing and compiling an EQUEL program, you can link it. Assuming the object file for your program is called "dbentry," use the following link command:
link dbentry.obj,-
ii_system:[ingres.files]equel.opt/opt,-
sys$library:vaxcrtl.olb/library
The last line in the link command shown above links in the C runtime library for certain basic C functions, such as printf. This line is optional. Use it only if you use those functions in your program.
It is recommended that you do not explicitly link in the libraries referenced in the EQUEL.OPT file. The members of these libraries change with different releases of Ingres. Consequently, you can be required to change your link command files in order to link your EQUEL programs.