From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Xref: utzoo comp.os.vms:38992 comp.lang.ada:5508 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!sdd.hp.com!spool.mu.edu!uunet!weyrich!orville From: orville@weyrich.UUCP (Orville R. Weyrich) Newsgroups: comp.os.vms,comp.lang.ada Subject: Re: Reducing VMS Ada .exe sizes... How? Message-ID: <1991May23.101359.1429@weyrich.UUCP> Date: 23 May 91 10:13:59 GMT References: <1991May15.143314.3724@software.org> <965@hwee.UUCP> <1991May22.133537.419@software.org> Reply-To: orville@weyrich.UUCP (Orville R. Weyrich) Organization: Weyrich Computer Consulting List-Id: In article <1991May22.133537.419@software.org> stluka@software.org (Fred Stluka) writes: >I am only building one program. It "with"s a large Ada >package containing hundreds of routines (Ada bindings to >a non-Ada collection of routines). I only call a couple >of the routines, but the entire package, and therefore >all of the non-Ada routines also, get linked into the >executable image. > >Any way to avoid this large image size, short of breaking >up the Ada bindings package into multiple packages? Would >subunits help? This may not help your situation much, but the problem is with the dumb linker that you seem to have in your environment. Some Ada systems are able to figure out which entry-points are never used and to not include them in the run-time image. (The professional version of Meridian Ada and/or Janus Ada come to mind, but you'd best check with the vendors for reliable information). The Turbo Pascal compiler also does this (proof of concept, for whatever that is worth). -------------------------------------- ****************************** Orville R. Weyrich, Jr., Ph.D. Certified Systems Professional Internet: orville%weyrich@uunet.uu.net Weyrich Computer Consulting Voice: (602) 391-0821 POB 5782, Scottsdale, AZ 85261 Fax: (602) 391-0023 (Yes! I'm available) -------------------------------------- ******************************