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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cb2bc43e6f95a4fe X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-30 02:27:47 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: gautier_niouzes@hotmail.com (Gautier) Newsgroups: comp.lang.ada Subject: Re: It's been a while... Date: 30 May 2003 02:27:47 -0700 Organization: http://groups.google.com/ Message-ID: <17cd177c.0305300127.690eaadf@posting.google.com> References: NNTP-Posting-Host: 213.173.163.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1054286867 3138 127.0.0.1 (30 May 2003 09:27:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 30 May 2003 09:27:47 GMT Xref: archiver1.google.com comp.lang.ada:38060 Date: 2003-05-30T09:27:47+00:00 List-Id: Luke A. Guest: > I learned Ada at University around 1995 and I've been interested in > getting back into it. Now, I have a simple "hello" app and it is huge. > Now, I don't want to have a load of people telling me not to judge Ada on > the size, but I really want to know how to get the app size down. The app > is: > > -rwxr-xr-x 1 laguest users 200492 2003-05-29 22:16 hello > > This is an example program from the sources, compiled with: > > gnatmake -O3 ... > Now, surely the app doesn't need this info and it must be taking up a lot > of space. Do I need to go into the linker scripts to strip this info out? This is a feature of GNAT, not of all Ada compilers: no smart linking. - at least afaik, and on 30-May-2003. The issue is as old as GNAT... http://groups.google.com/groups?q=smart+linking+gnat Probabily the big executable size is harmless and doesn't hurt performance (only used parts being loaded), but this is to be proven... ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!