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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Huge C executables

Re: Huge C executables

From: Peter Moore <pt_at_CHAFF.DEMON.CO.UK>
Date: Mon, 5 Feb 1996 19:36:14 +0100
Message-Id: <9602060634.AA20965@alice.jcc.com>


On VMS there is a logical (like a UNIX env variable) which you need to set to pick up the shared libraries. You add this into your LINK_whatever.COM (or makefile on UNIX, I suppose(?).).

The info on the shared libraries is in the platform specific Installation & User Guides, try looking in there.

On 5 Feb 96 at 15:05, Silvia Krasuk wrote :

> I have noticed that when linking C objs with Oracle
> libraries, you end up with a huge executable (almost 2MB for
> a 50-line progam). The proc.mk makefile provided by oracle
> links everything into the program even sqlnet.
> Since I am trying to reduce the executable's length, what
> should I do?
> I've seen there is a 'dynamic' option in the makefile,
> but when I use it, it tells me he can't find "libsharesqlxa.a".
> Now, what did I miss at installation time, were they the shared
> XA libraries? If so, why? I thougth they were used for other
> purposes, something like an alternative to calling sqlnet
> functions (?).


|  Peter Moore - Database Administrator - MAT Transport Ltd, London, UK
|  pt_at_chaff.demon.co.uk : +44 (171) 410 6373
|  "With a little study you'll go a long ways & I wish you'd start now!"

Received on Tue Feb 06 1996 - 01:34:54 CST

Original text of this message

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