Re: Help on Linking Pro*C files

From: Robert Goodwin <robert.goodwin_at_msfc.nasa.gov>
Date: 1995/09/01
Message-ID: <427psu$gt0_at_hammer.msfc.nasa.gov>#1/1


In article <427nob$3po_at_horizon.synon.com>,

   rnv_at_synon.com (Raghu Valluri) wrote:
>nv0_at_cis.ufl.edu ( Vish ) wrote:
>
>
>>Hi,
>>I am novice to Oracle. I am writing embedded sql programs and compiling with
>>pro*c. In linking, I am getting problem. I am unable to know which libraries
>>I need to include. (Even for a simple program for getting connected to
 Oracle)
>>I tried including some combination of libraries. But they are not working.
>>Can any one let me know which libraries are to be included?
>>Any info in this regard will be highly appreciated.
>>Thanks in Advance,
>>Vish.
>
>Try using the sample makefile proc.mk that Oracle ships and
>modify it to compile your program rather than trying to
>figure out all libs needed. I believe you can find this in
>$ORACLE_HOME/proc/lib and /proc/demo
>
>Hope this helps
>
When we use the sample makefile provided with Oracle, the executables end up being HUGE...even for the simplest looking application. There seems to be close to a 3MB overhead! Obviously the overhead is in all the stuff that the precompiler adds, but is this kind of overhead normal? Thanks for any help.

       :
      /^\
     :   :
     :___:
___.^:_._:^._______________________________________________________________
   :-:.^.:-:                        :
   :_:|=|:_:  Robert Goodwin        :  phone:  (205)461-4582
   : :|.|: :  Database Development  :  fax:    (205)461-4999
   :-/|.|\-:  New Technology, Inc.  :
   :/ |.| \:  Huntsville, AL        :
 (__|.|__)                        :
   :_:(|):_:  NASA/MSFC             :  e-mail: robert.goodwin_at_msfc.nasa.gov
 --/^\^|^/^\---------------------------------------------------------------
   /\\   //\

   //\ /\\
   /\\\ //\\\ Received on Fri Sep 01 1995 - 00:00:00 CEST

Original text of this message