RE: Compiling Pro*C application

  • From: "Goulet, Dick" <DGoulet@xxxxxxxx>
  • To: <manoj.gurnani@xxxxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 7 Oct 2005 08:55:26 -0400

 Manoj,

        That's what the:

 make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk OBJS=<your-program>.o
EXE=<your-program>

 is for.


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of
manoj.gurnani@xxxxxxxxxxxxx
Sent: Friday, October 07, 2005 3:11 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: RE: Compiling Pro*C application






Hi,
     How to generate the .o file from .c
Pl give complete syntax for including proc library files also.

Thanks
Manoj


 

                      "Goulet, Dick"

                      <DGoulet@xxxxxxxx>         To:
<manoj.gurnani@xxxxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>

                      Sent by:                   cc:

                      oracle-l-bounce@fr         Subject: RE: Compiling
Pro*C application                                                
                      eelists.org

 

 

                      10/06/2005 06:43

                      PM

                      Please respond to

                      DGoulet

 

 





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
--
//www.freelists.org/webpage/oracle-l

Other related posts: