Re: Proc C/C++ question, second try

From: Thomas J. Kyte <tkyte_at_us.oracle.com>
Date: Fri, 31 Mar 2000 00:41:18 GMT
Message-ID: <8c0s7c$694$1_at_nnrp1.deja.com>


In article <8c08o3$fro$1_at_nnrp1.deja.com>, abutarif_at_my-deja.com wrote:
> Hi,
> I asked this question a couple of days ago and didn't get a response.
> Can anyone help?!
>
> I precompiled a .pc file using ProC/C++ under windows, then compiled
it
> using VC++.
> Now I want to compile the same thing for Unix. Do I need to install
> ProC/C++ on unix machine and precompile there or does the Pro C/C++
> result on a windows environment can also be compiled on a Unix?
>
> If yes, what are the library names that I need for Unix and where can
I
> get them from?
> If no, is there any possible way to compile under Unix without needing
> to install ProC/C++ there (possibly change something in the c file
> resulting from precompilation or specify something in the ProC
> precompiler)?
>

The only sure and supported way to do this is to install proc on the unix system and precompile them. There may be differences in the generated code. There definitely will be the need to install the proc libraries (which will install proc as well so you might as well use it).

Once you install proc see $ORACLE_HOME/precomp/demo/proc/demo_proc.mk for a demo makefile. See http://govt.oracle.com/~tkyte/proc_makefile/ for an easy way to incorporate this makefile into your projects.

> Thanks a lot!
>
> Asad
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

--
Thomas Kyte tkyte_at_us.oracle.com
Oracle Service Industries http://osi.oracle.com/~tkyte/index.html
--
Opinions are mine and do not necessarily reflect those of Oracle Corp


Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Mar 31 2000 - 02:41:18 CEST

Original text of this message