Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Compiler Questions

Re: Compiler Questions

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Thu, 14 Dec 2000 23:59:53 +0100
Message-ID: <91drl0$3tj81$1@ID-62141.news.dfncis.de>

Pro*C is a *pre*-compiler, it translates ordinary sql into lower level calls. Thus, you still need to compile your program. You develop your Pro*C program, you precompile it with pcc and you compile it. More good news: Oracle has *never* supported the GNU C compiler, you will need to create your own makefile or 'tweak' the Oracle provided one. If you don't want that, the only viable alternative is using OCI, the Oracle Call Interface, which is actually the database API. Yes, it does look as ugly as the Microsoft API.

Hth,
Sybrand Bakker, Oracle DBA

"Mark Riehl" <mriehl_at_home.com> wrote in message news:MNb_5.40205$w35.7073167_at_news1.rdc1.nj.home.com...
> All,
>
> A bit new to Oracle, sorry if these are very easy questions. I'm
 installing
> Oracle 8i onto a Solaris x86 8.0 box.
>
> I see references in the docs to Pro *C/C++ compilers. It says that these
> products require a separate license as part of Oracle Programmer.
>
> Question - can I use another compiler, namely a GNU compiler? I've done
> database work before with embedded SQL using MySQL and mSQL, and we were
> able to just link in the appropriate library into a C++ application, this
> provided us w/access to the database.
>
> Bottom line - do I need the Oracle Pro *C/C++ compiler in order to talk to
> an Oracle database or can I use the GNU compiler. Is the Oracle compiler
> freely available or does it need to be purchased?
>
> Thanks for the help,
> Mark
>
>
Received on Thu Dec 14 2000 - 16:59:53 CST

Original text of this message

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