Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> 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> 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-lReceived on Fri Oct 07 2005 - 12:02:53 CDT
![]() |
![]() |