Re: Very Large Size of Pro*C executables

From: <pihlab_at_cbr.hhcs.gov.au>
Date: 29 Sep 93 09:18:57 +1000
Message-ID: <1993Sep29.091857.1_at_cbr.hhcs.gov.au>


In article <CE0yoF.vLr_at_hawnews.watson.ibm.com>, johanh_at_wanderer.ldg.ibm.com (Johan Hellstrom) writes:
> Today I compiled/linked Sample1.pc (2600 bytes) on an AIX 3.2
> system using Pro*C on Oracle 7.0.13.
>
> The resulting executable was 1.3 Mb large. A make of a locally
> developed program resulted in a similar size.
>
> Since no product can be developed with executable sizes even remotely
> close to those figures, I would like to know if there is any way of
> maybe sharing the libraries in order to get smaller executables?
>
> Any advice would be appreciated!
>
> Regards
>
> /Johan Hellstrom
>

Yeah. I'm having the same problem with Pro*COBOL programs. A large amount of this space seems to be related to the size of the SGA of the Oracle kernel your linking to.

The rest seems to be the various Oracle calls (.obj files) which must be linked in rather than shared.

I've got NO answer and am loath to change any of the supplied Oracle linking code.

With most of the Oracle kernel installed (under VMS) as shared objects it seems real strange the the Pro* libraries can't be installed as well.

Does anyone working at Oracle Corp. have any "supported" work arounds?

Bruce... pihlab_at_cbr.hhcs.gov.au

"If you swallow a live frog first thing in the morning ...  Nothing worse will happen to either of you for the rest of the day."


  • Bruce Pihlamae -- Database Administration *
  • Commonwealth Department of Health, Housing & Community Services *
  • Canberra, Australia (W) 06-289-7056 *
  • These are my own thoughts and opinions, few that I have. *
Received on Wed Sep 29 1993 - 00:18:57 CET

Original text of this message