<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pro *C in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c/m-p/3474955#M846586</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for simple C - Programs I just do it this way : (It is for 10g, but I think it is very similar for 9g)&lt;BR /&gt;&lt;BR /&gt;Precompile :&lt;BR /&gt;just :     proc filename.pc&lt;BR /&gt;&lt;BR /&gt;Compile :&lt;BR /&gt; gcc -O -I. -I$ORACLE_HOME/precomp/public \n &lt;BR /&gt;  -c filename.c&lt;BR /&gt;&lt;BR /&gt;Link :&lt;BR /&gt;gcc -o filename.r filename.o \n &lt;BR /&gt;  -L$ORACLE_HOME/lib -lclnts&lt;BR /&gt;&lt;BR /&gt;Run :&lt;BR /&gt;./filename.r&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Werner</description>
    <pubDate>Tue, 01 Feb 2005 01:13:15 GMT</pubDate>
    <dc:creator>Werner Ittner</dc:creator>
    <dc:date>2005-02-01T01:13:15Z</dc:date>
    <item>
      <title>Pro *C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c/m-p/3474953#M846584</link>
      <description>I have been using oracle 9.2.0.4 on hp unix 11.11. I am trying to compile a Pro *c program. Since the demo_proc.mk has to be used i am trying to customise it but there are many variables defined which i am not able to figure. Can anyone help me out.&lt;BR /&gt;say my pro c programs are x1.pc which uses x2.pc&lt;BR /&gt;uses sql script x3.sql        &lt;BR /&gt;&lt;BR /&gt;what are the variables that i should remove from the demo_proc.mk given in oracle home../proc/demo path</description>
      <pubDate>Mon, 31 Jan 2005 13:24:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c/m-p/3474953#M846584</guid>
      <dc:creator>Sandeep Ganguly</dc:creator>
      <dc:date>2005-01-31T13:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pro *C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c/m-p/3474954#M846585</link>
      <description>Hi Sandeep,&lt;BR /&gt;&lt;BR /&gt;$ORACLE_HOME/precomp/demo/proc/demo_proc.mk makefile can be used to precompile, compile and link Pro*C application executables. You can customize demo_proc.mk (if you need) to compile/ build Pro*C programs.&lt;BR /&gt;&lt;BR /&gt;For Example: &lt;BR /&gt;The command for making myprog executable from myprog.pc is &lt;BR /&gt;make -f demo_proc.mk build OBJS="myprog.o" EXE=myprog &lt;BR /&gt;You can also give precompiler options using PROCFLAGS &lt;BR /&gt;For example: &lt;BR /&gt;make -f demo_proc.mk build OBJS="myprog.o" EXE=myprog PROCFLAGS="sqlcheck=semantics userid=scott/tiger" &lt;BR /&gt;If you are trying to compile a Pro *c program using the demo_proc.mk, you may use this command to build your custom programs. For example, Your Prog is x1.pc &lt;BR /&gt;&lt;BR /&gt;Copy the sample programs and demo_proc.mk makefile into your working directory. &lt;BR /&gt; &lt;BR /&gt;  Enter the following command to build x1.pc: &lt;BR /&gt; &lt;BR /&gt;       make -f demo_proc.mk build EXE=x1 OBJS=x1.o  &lt;BR /&gt;   &lt;BR /&gt; Run the program: &lt;BR /&gt;       $&amp;gt; x1  &lt;BR /&gt; &lt;BR /&gt;Indira A</description>
      <pubDate>Mon, 31 Jan 2005 22:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c/m-p/3474954#M846585</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-01-31T22:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pro *C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pro-c/m-p/3474955#M846586</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for simple C - Programs I just do it this way : (It is for 10g, but I think it is very similar for 9g)&lt;BR /&gt;&lt;BR /&gt;Precompile :&lt;BR /&gt;just :     proc filename.pc&lt;BR /&gt;&lt;BR /&gt;Compile :&lt;BR /&gt; gcc -O -I. -I$ORACLE_HOME/precomp/public \n &lt;BR /&gt;  -c filename.c&lt;BR /&gt;&lt;BR /&gt;Link :&lt;BR /&gt;gcc -o filename.r filename.o \n &lt;BR /&gt;  -L$ORACLE_HOME/lib -lclnts&lt;BR /&gt;&lt;BR /&gt;Run :&lt;BR /&gt;./filename.r&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Werner</description>
      <pubDate>Tue, 01 Feb 2005 01:13:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pro-c/m-p/3474955#M846586</guid>
      <dc:creator>Werner Ittner</dc:creator>
      <dc:date>2005-02-01T01:13:15Z</dc:date>
    </item>
  </channel>
</rss>

