Any Pro*C/C++ users out there?
Date: Sat, 5 Sep 2009 21:53:08 -0700 (PDT)
I have been using Pro*C/C++ for a while, but so far all my programs have been written in C. I just started trying to run some C++ programs, the ones that come with the precompiler: cppdemo[1-3].pc
My problem is that I would like to modify the sys_include variable and I can't
Every time I compile, there is a message:
System default option values taken from: /home/oracle/product/10.2.0/ precomp/admin/pcscfg.cfg
So, I figure that I need to modify that file. Since my Linux is RedHat, I remove the entry that mentions SuSe. I updated the list of C+ + directories.
Even after those changes the precompiler seems to keep on searching include files in the wrong/old places.
ps: The only demo that builds fine is cppdemo2.pc, because it doesn't have an #include <iostream> statement.
Those include directories down here should NOT be there. I removed them from pcscfg.cfg
proc code=cpp 'sys_include=(/home/oracle/product/10.2.0/precomp/ public,/usr/include,/usr/lib/gcc-lib/i486-suse-lin ux/2.95.3/include,/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include,/ usr/lib/gcc-lib/i386-redhat-linux7/2.96/includ e)' iname=cppdemo3 Received on Sat Sep 05 2009 - 23:53:08 CDT