Re: Pro C

From: Michael Huneycutt <mah_at_reaper.mitre.org>
Date: 1995/05/16
Message-ID: <3pa8po$ie7_at_linus.mitre.org>#1/1


Just copy the proc.mk file from $ORACLE_HOME/proc/demo. Then do the following "make -f proc.mk [program name without pc extension]" this will put it through the Pro*C procompiler which will create a C program with all of the sql statements replaced with the appropriate sub routines and then it will compile the C program into an executable. That is the fast way. You may want to get comfortable with makefiles and clean that one up and use it elsewhere. The proc.mk file is a good starting place for creating a makefile.

Mike H.
mah_at_sequent.com

Soumen Barua (barua_at_plains.NoDak.edu) wrote:
: Hi,
: I would like to know what command I need to invoke in order to compile a Pro C
: program with embedded SQ in it. Thank you very much for any info.
: BYe,
: Soumen
Received on Tue May 16 1995 - 00:00:00 CEST

Original text of this message