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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Xref: utzoo comp.os.vms:38959 comp.lang.ada:5492 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!gatech!mcnc!uvaarpa!software.org!stluka From: stluka@software.org (Fred Stluka) Newsgroups: comp.os.vms,comp.lang.ada Subject: Re: Reducing VMS Ada .exe sizes... How? Message-ID: <1991May22.133537.419@software.org> Date: 22 May 91 13:35:37 GMT References: <91134.084320PHALL@ESOC.BITNET> <1991May15.143314.3724@software.org> <965@hwee.UUCP> Sender: usenet@software.org (Usenet News/Mail Support) Organization: Software Productivity Consortium, Herndon VA List-Id: In article <965@hwee.UUCP> osman@hwee (Osman) writes: > Maybe I've missed the point but have you considered compiling some of the > modules into a shareable image (or using them as a shareable image). This has > the advantage that if you use them in several sets of programs you still only > need one file. Doesn't help (I think). 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? I think the problem would go away if I could convert the single Ada bindings package into an object module library, or shareable image, with one object per routine. Then I could get the linker to selectively link in individual Ada bindings routines. I'd rather not have to modify the source too much to do this though. --Fred -- Fred Stluka Internet: stluka@software.org Software Productivity Consortium UUNET: ...!uunet!software!stluka 2214 Rock Hill Rd, Herndon VA 22070 USA