Re: Pro*C 1.5 binary sizes

From: Wade Tsai <ep60wtu_at_noh71fb.shell.com>
Date: Fri, 11 Nov 1994 17:02:18 GMT
Message-ID: <Cz44nu.HKK_at_shellgate.shell.com>


In article <398jom$ic7_at_tusk.lm.com>, Keith A. Overstreet <kao_at_etgroup.com> writes:
>> > : During a port of our application from Oracle6 to Oracle7, I've noticed
>> > : that the resulting executable sizes are a factor of 3 or 4 larger than
>> > : those produced with the Oracle6 libraries. Looking at the libraries
>> > : showed that they are larger, but that much? I don't have too many
>> > : extra gig disks and simms sitting around... I thought that using
>> > : shared libraries would be a good idea, but I haven't found ANY
>> > : reference to them in the Oracle documentation.
 

>> > : Has anyone else noticed/worked around this growing size with Pro*C
>> > : libraries?
>>
>> Robert Gasch (rgasch_at_nl.oracle.com) wrote:
>>
>> > Provided you're on a UNIX system, you can say
>> > strip <executable>
>>
>> We do. They're still huge. HP-UX 9.0 HP9000/712.
>>
>> We've tried the ordering of libraries as well. A bit of hit or miss
>> work. They're still huge with the minimum libraries we seem to
>> be able to include.
>>
>> Any more ideas? We'll try anything once.
>> --
>> Keith A. Overstreet
>> Enterprise Technology Group, Inc.

Geez, I'm sure glad it's not just me that's seeing such a huge increase in the exe size. I have 6 apps that I've recompiled for v7 and all of them are HUGE!

Some samples:

-rwxr--r--   1 ep60wtu  soi_cad  1429504 Nov 10 09:56 ei_main
-rwxr--r--   1 ep60wtu  soi_cad  3928064 Oct 25 10:53 timesheet
-rwxr--r--   1 ep60wtu  soi_cad  2007040 Oct 25 10:18 index

The first one is an AutoCAD ADS application and the last two are X11/Motif applications (timesheet is compiled with archive libs due to site inconsistency reasons)
All exe's are HP/UX 700 binaries, compiled under HP/UX 9.01. I tried various lib linking orders but didn't make much difference. The link order that I'm using is:

-lsql -lsqlnet -lora -lsqlnet -lnlsrtl -lcv6 -lcore \

                  -lnlsrtl -lcv6 -lcore -lcl

Too much deviation from this order results in a lot of unresolved externs from ld.

Rumors has it that Oracle is working to resolve this problem. They placed the blame on the language support...

-- 

Wade Tsai
-------------------------------------------------------------------------------
Shell Oil Company, 3-D CAD Group              ep60wtu_at_shell.com, (504)-588-6642

 My opinions are purely ficticious and does not reflect the opinions of any
 person living, past or present.  Any reflection of the opinions of either the
 Shell Oil Company or Digital Consulting is purely coincidental.  And boy,
 what a freakin' coincidence THAT would be!
-------------------------------------------------------------------------------
Received on Fri Nov 11 1994 - 18:02:18 CET

Original text of this message