Re: Reduce size of Pro*C Executables?
From: John Strange <jstrange_at_tpd.dsccc.com>
Date: 14 Mar 1995 13:20:49 GMT
Message-ID: <3k457h$4cg_at_tpd.dsccc.com>
Date: 14 Mar 1995 13:20:49 GMT
Message-ID: <3k457h$4cg_at_tpd.dsccc.com>
Eli Haber (haber_at_panix.com) wrote:
:> I have recently begun trying to program in Pro*C. I find
:> that even the smallest Pro*C program turns into a 2 Meg
:> executable when I use the make program provided by
:> Oracle.
:> I have tried compiling and linking the programs myself,
:> but I keep getting unreferenced function errors until
:> I link with about a dozen Oracle library files, and this
:> also causes theexecutable to be huge.
:> Any suggestions?
:> (Background: Oracle 7.1 on SCO Unix)
add -s to the compile/link line.
This will strip debug information and help a little.
-- This posting represents the personal opinions of the author. It is not the official opinion or policy of the author's employer. Warranty expired when you opened this article and I will not be responsible for it's contents or use.Received on Tue Mar 14 1995 - 14:20:49 CET