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,6575b47ba54cee7c X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <47B31A9E.8000206@obry.net> Date: Wed, 13 Feb 2008 17:28:14 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: anon Subject: Re: Reducing the size of executables produced by GNAT References: <40e9c01a-8d31-4554-9d9b-18cce7834d56@s12g2000prg.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 13 Feb 2008 17:28:16 CET NNTP-Posting-Host: 82.120.19.170 X-Trace: 1202920096 news.orange.fr 903 82.120.19.170:3289 X-Complaints-To: abuse@orange.fr Xref: g2news1.google.com comp.lang.ada:19774 Date: 2008-02-13T17:28:16+01:00 List-Id: anon a �crit : > If you rewrite the GNAT RT Libraries system so that it only uses the > routines that you need with direct OS Interface packages you can get > a program like "Hello" down to the bare minimum of 256 bytes (1 > sector on a floppy) or less. It is easy to do but for most people that > too much work. ROTFL :) You must be very good to be able to develop a full Ada runtime in 256 bytes! No the problem is more about unused code elimination, this is possible on some plate-forms with recent binutils and GCC/GNAT. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595