You didn't even give information as to what compiler you are using. When asking a question for steps and helps, it is a good practice to give such relevent information. Are you using gcc? sun compiler? On 10/7/05, manoj.gurnani@xxxxxxxxxxxxx <manoj.gurnani@xxxxxxxxxxxxx> wrote: > > > > > > > Hi, > How to generate the .o file from .c > Pl give complete syntax for including proc library files also. > > Thanks > Manoj > > > > > > Manjo, > > Now I don't use Solaris, but the following works on HP-UX and > RedHat Linux so I don't see why it won't work for you: > > proc iname=<your-program>.pc oname=<your-program>.c host=c > make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk OBJS=<your-program>.o > EXE=<your-program> > > -----Original Message----- > From: oracle-l-bounce@xxxxxxxxxxxxx > [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of > manoj.gurnani@xxxxxxxxxxxxx > Sent: Thursday, October 06, 2005 4:17 AM > To: oracle-l@xxxxxxxxxxxxx > Subject: Compiling Pro*C application > > > > > > > Hi, > I have a pro*C file (.pc file). > What are steps in converting to executable file in Solaris OS using a > makefile. > Give the nessary syntax. > > Thanks > Manoj > > > This e-Mail may contain proprietary and confidential information and is > sent for the intended recipient(s) only. > If by an addressing or transmission error this mail has been misdirected > to you, you are requested to delete this mail immediately. > You are also hereby notified that any use, any form of reproduction, > dissemination, copying, disclosure, modification, > distribution and/or publication of this e-mail message, contents or its > attachment other than by its intended recipient/s is strictly > prohibited. > > Visit Us at http://www.polaris.co.in > -- > //www.freelists.org/webpage/oracle-l > -- > //www.freelists.org/webpage/oracle-l > > > > > This e-Mail may contain proprietary and confidential information and is > sent for the intended recipient(s) only. > If by an addressing or transmission error this mail has been misdirected > to you, you are requested to delete this mail immediately. > You are also hereby notified that any use, any form of reproduction, > dissemination, copying, disclosure, modification, > distribution and/or publication of this e-mail message, contents or its > attachment other than by its intended recipient/s is strictly prohibited. > > Visit Us at http://www.polaris.co.in > -- > //www.freelists.org/webpage/oracle-l >