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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6ff6ac051491e437,start X-Google-Attributes: gid103376,public From: haug@zesi.ruhr.de (Haug Buerger) Subject: GNAT Codesize Date: 1996/06/20 Message-ID: <31c8fdd4.5a455349@zesi.ruhr.de>#1/1 X-Deja-AN: 161259422 distribution: world x-posting-software: UUPC/extended 1.12r inews (20Jan96 10:45) content-type: text/plain; charset=ISO-8859-1 mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-06-20T00:00:00+00:00 List-Id: I have a little Ada program to convert mail and news to display propperly on an PC with OS/2, nothing but some character conversions. The main programm is 146 lines long, the corresponding object file is from 63849 to 113000 bytes big depending on the optimizeations (-O0..-O3). The object contains about 2kbyte of text information. That's about 400 bytes per line, best case. Assuming that all the runtime check code is in the runtime libraries, what is gnat doing? It seems to me that gnat produces very inefficiente code. The whole program is never smaller than 400kbyte. Is it possible to use a dynamic link library for the runtime library? Is there any chance to reduce the code size? Haug