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 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!TARTAN.COM!romanows From: romanows@TARTAN.COM Newsgroups: comp.lang.ada Subject: Reducing the size of Ada's EXE files Message-ID: <9104191902.AA25245@tlsunb2.com> Date: 19 Apr 91 19:02:56 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet List-Id: >What most of us complain about is the amount of code that gets linked into an >executable which will never be executed. On DEC Ada, for instance, whenever >you used a subprogram from a package, you got the whole package linked in. >So if the subprogram was 3 KBytes & the package was 3 MBytes, you got a >1000 times as much code in your executable. The linkers for all of Tartan's Ada compilers do unused section elimination and they have done it for some time now. The linker automatically eliminates ALL unused sections including those of the runtimes. There is no need to use a command line switch for the compiler or linker. You do have the option of keeping any or all program sections in your executable, even if they are not used, if you so desire. This optimization does not put undue burden on the linker. It is fast whether or not you choose to let the optimization take place. Feel free to contact me for more information. Jim Romanowski Tartan Inc. Phone: 412-856-3600 E-mail Romanows@tartan.com