Oracle7 Administrator's Reference for UNIX

Contents Index Home Previous Next

SQL*Module for Ada and C

You can use SQL*Module to precompile, compile, and link a program. For example, to precompile, compile, and link the userprog program containing the m.mc module file and the u.c C file, enter:

$ make -f $ORACLE_HOME/precomp/demo/modc/moddemoc.mk c \
OBJS="m.o u.o" EXE=userprog

Note: If your program depends on non-Oracle libraries, you may have to alter mod.mk to include them.


Contents Index Home Previous Next