Programs Without Embedded Forms
The following example demonstrates the link command of an EQUEL program called "dbentry" that has been preprocessed and compiled:
f77 -o dbentry dbentry.o \
$II_SYSTEM/ingres/lib/libingres.a \
-lm -lc
Note that both the math library and the C runtime library must be included.
Ingres shared libraries are available on some Unix platforms. To link with these shared libraries replace "libingres.a" in your link command with:
-L $II_SYSTEM/ingres/lib -linterp.1 -lframe.1 -lq.1 \
-lcompat.1
To verify if your release supports shared libraries check for the existence of any of these four shared libraries in the $II_SYSTEM/ingres/lib directory. For example:
ls -l $II_SYSTEM/ingres/lib/libq.1.*