Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Compiling Pro*C application

RE: Compiling Pro*C application

From: Goulet, Dick <DGoulet_at_vicr.com>
Date: Fri, 7 Oct 2005 08:55:26 -0400
Message-ID: <4001DEAF7DF9BD498B58B45051FBEA6502D44092@25exch1.vicorpower.vicr.com>


 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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of manoj.gurnani_at_polaris.co.in
Sent: Friday, October 07, 2005 3:11 AM
To: oracle-l_at_freelists.org
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_at_vicr.com>         To:
<manoj.gurnani_at_polaris.co.in>, <oracle-l_at_freelists.org>
                      Sent by:                   cc:

                      oracle-l-bounce_at_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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of manoj.gurnani_at_polaris.co.in
Sent: Thursday, October 06, 2005 4:17 AM To: oracle-l_at_freelists.org
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
--

http://www.freelists.org/webpage/oracle-l
--

http://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
--

http://www.freelists.org/webpage/oracle-l
--

http://www.freelists.org/webpage/oracle-l Received on Fri Oct 07 2005 - 07:59:05 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US