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: Bobak, Mark <Mark.Bobak_at_il.proquest.com>
Date: Fri, 7 Oct 2005 13:02:51 -0400
Message-ID: <AA29A27627F842409E1D18FB19CDCF2705219402@AABO-EXCHANGE02.bos.il.pqe>


This may be a good starting point:
http://asktom.oracle.com/~tkyte/proc_makefile/


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Richard Ji Sent: Friday, October 07, 2005 12:59 PM
To: manoj.gurnani_at_polaris.co.in
Cc: oracle-l_at_freelists.org
Subject: Re: Compiling Pro*C application

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_at_polaris.co.in < manoj.gurnani_at_polaris.co.in <mailto:manoj.gurnani_at_polaris.co.in> > 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_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 - 12:14:24 CDT

Original text of this message

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