Re: Linking PRO*C programs

From: Tony Carey <tcarey_at_staff.prodigy.com>
Date: 1996/07/18
Message-ID: <31EE830D.47D4_at_staff.prodigy.com>#1/1


Ian Mills wrote:
>
> We have just installed PRO*C V2.0 onto our Unix machine (Sequent Dynix/ptx),
> and when compiling an existing Pro*C program that used to be a 700K
> executeable, It is now 3.9Mb.
>
> Is it possible to reduce this ??? - Are there Dynamic Link Libraries ??
> I Have read that you can link 'shared', but can't find any documentation on
> how to do this.
>
> Can anyone help/point me in the right direction ????
>
> Thanks
>
> Ian Mills
> Information Systems - Aston University

Your executables are large because you ar linking with static libraries.  You can link your PRO*C programs with $ORACLE_HOME/lib/libclntsh.a that is a shared object library.

Hopes this work out for you.

Tony. Received on Thu Jul 18 1996 - 00:00:00 CEST

Original text of this message