From oracle-l-bounce@freelists.org Fri Oct 7 12:02:53 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j97H2hUn022100 for ; Fri, 7 Oct 2005 12:02:48 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j97H2HvX022041 for ; Fri, 7 Oct 2005 12:02:18 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8C14F1F7943; Fri, 7 Oct 2005 12:01:02 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05871-02; Fri, 7 Oct 2005 12:01:02 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 083701F7EC3; Fri, 7 Oct 2005 12:01:01 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ecwh0XVqVgaL5Tgg+vySHLxdU9DalTiFgylP4L2Nsh6JbAMbDGnMk9sXyhpAVmqVYWp9eVU5C1DVvW5qfgmqUsmTmOJhbh2/v3sOM2/rBj67O1GlCTP9pNGdVg4txT9jZKViPCAwxxlT4r4QRRyJErnAXZZQB3kJ+Onhfkk1wsY= Message-ID: Date: Fri, 7 Oct 2005 12:58:58 -0400 From: Richard Ji To: manoj.gurnani@polaris.co.in Subject: Re: Compiling Pro*C application Cc: oracle-l@freelists.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7100_27568981.1128704338904" References: X-archive-position: 26565 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: richard.c.ji@gmail.com Precedence: normal Reply-To: richard.c.ji@gmail.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-mailscan-MailScanner-Information: Please contact the ISP for more information X-mailscan-MailScanner: Found to be clean X-MailScanner-From: oracle-l-bounce@freelists.org X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on air891.startdedicated.com X-Spam-Level: X-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.63 ------=_Part_7100_27568981.1128704338904 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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@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=3D.pc oname=3D.c host=3Dc > make -f $ORACLE_HOME/rdbms/demo/demo_rdbms.mk OBJS=3D.o > EXE=3D > > -----Original Message----- > From: oracle-l-bounce@freelists.org > [mailto:oracle-l-bounce@freelists.org] On Behalf Of > manoj.gurnani@polaris.co.in > Sent: Thursday, October 06, 2005 4:17 AM > To: oracle-l@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 > ------=_Part_7100_27568981.1128704338904 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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@polaris.co.in < manoj.gurnani@polaris.co.in> wrote:





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

T= hanks
Manoj





Manjo,

    = ;         Now I don't use Solaris, but the following works on HP-UX and
RedHat Lin= ux so I don't see why it won't work for you:

proc iname=3D<your-= program>.pc oname=3D<your-program>.c host=3Dc
make -f $ORACLE_= HOME/rdbms/demo/demo_rdbms.mk OBJS=3D<your-program>.o
EXE=3D<your-program>

-----Original Message-----
From: <= a href=3D"mailto:oracle-l-bounce@freelists.org">oracle-l-bounce@freelists.o= rg
[mailto:oracle-l= -bounce@freelists.org ] On Behalf Of
manoj.= gurnani@polaris.co.in
Sent: Thursday, October 06, 2005 4:17 AM
To= : oracle-l@freelists.org
S= ubject: Compiling Pro*C application






Hi,
      I ha= ve a pro*C file (.pc file).
What are steps in converting to executable f= ile in Solaris OS using a
makefile.
Give the nessary syntax.

T= hanks
Manoj


This e-Mail may contain proprietary and confidential information and is
= sent for the intended recipient(s) only.
If by an addressing or transmis= sion error this mail has been misdirected
to you, you are requested to d= elete this mail immediately.
You are also hereby notified that any use, any form of reproduction,dissemination, copying, disclosure, modification,
distribution and/or p= ublication of this e-mail message, contents or its
attachment other than= by its intended recipient/s is strictly
prohibited.

Visit Us at htt= p://www.polaris.co.in
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l




This e-Mai= l 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, copy= ing, 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.fre= elists.org/webpage/oracle-l

------=_Part_7100_27568981.1128704338904-- -- http://www.freelists.org/webpage/oracle-l