Re: gcc and Oracle

From: Joerg Boecker <boecker_at_ives1.ive.uni-hannover.de>
Date: 1996/01/25
Message-ID: <4e80a5$m5m_at_newsserver.rrzn.uni-hannover.de>#1/1


In article o92_at_concorde.ctp.com, pdrap_at_ctp.com (Patrick Draper) writes:
> Hi,
>
> I have a simple question. Is gcc compatible with Oracle? If it is not,
> why is it not?
>
> I had a difficult time linking my C++ program with the Oracle libraries
> when it was compiled with gcc. In fact, I never got it to work.
>
> Compilation and linking was no sweat when I used Sun's compiler on
> the same sourece code, so I know that name mangling wasn't the
> problem.

In Oracle 7.0.16 there is a file named __fstd.o in the $ORACLE_HOME/lib directory. To use gcc for compiling Pro*C programs with this version you have to include it when linking your programs. hope it helps,
Heike


H. Twele                    twele_at_ives1.ive.uni-hannover.de
IVE
Universitaet Hannover       Tel.:(0511) 762-3454
---------------------------------------------------------------------
Received on Thu Jan 25 1996 - 00:00:00 CET

Original text of this message