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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,db8388c6b42d398 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!nlpi057.nbdc.sbc.com!prodigy.net!flph199.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!flpi146.ffdc.sbc.com.POSTED!b5cf28ff!not-for-mail From: Dimonax Subject: Re: How do I go about creating a minimal GNAT runtime? Newsgroups: comp.lang.ada References: <0zPnl.16758$YU2.10131@nlpi066.nbdc.sbc.com> User-Agent: Pan/0.133 (House of Butterflies) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: NNTP-Posting-Host: 75.48.217.250 X-Complaints-To: abuse@prodigy.net X-Trace: flpi146.ffdc.sbc.com 1235869927 ST000 75.48.217.250 (Sat, 28 Feb 2009 20:12:07 EST) NNTP-Posting-Date: Sat, 28 Feb 2009 20:12:07 EST Organization: at&t http://my.att.net/ X-UserInfo1: OP[YBXWDLJUURW\[BBHZ_WTAUC\NQOPDLXUNNHLHQAVTUZ]CLNTCPFK[WDXDHV[K^FCGJCJLPF_D_NCC@FUG^Q\DINVAXSLIFXYJSSCCALP@PB@\OS@BITWAH\CQZKJMMD^SJA^NXA\GVLSRBD^M_NW_F[YLVTWIGAXAQBOATKBBQRXECDFDMQ\DZFUE@\JM Date: Sun, 01 Mar 2009 01:12:07 GMT Xref: g2news2.google.com comp.lang.ada:4830 Date: 2009-03-01T01:12:07+00:00 List-Id: On Fri, 27 Feb 2009 17:42:17 -0600, Randy Brukardt wrote: > For Windows, things are bigger, but not that much. I see a 70K > executable for a simple test program left behind in one of my test > directories. That program uses Text_IO but not any tasking (tasking is > automatically omitted from the executable if not used). The tasking > runtime would push the size up to (I think) about 150K. > > Randy. The easiest way to knock down the size of an Ada binary, that I know of, is just to use shared libraries instead of static linking. Of course that isnt always an option, but on systems where its supported you might want to give it a try. Dimonax