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,380eb3e330e4b3e1,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-05 12:55:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Michael Bode Newsgroups: comp.lang.ada Subject: Executable size with GNAT for Windows and Linux Date: 05 May 2002 21:58:42 +0200 Organization: Organized? Me? Sender: mb@jupiter.solar.system Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 1020628438 02 17462 vLEbb2QES+Aunn 020505 19:53:58 X-Complaints-To: abuse@t-online.com X-Sender: 320025674319-0001@t-dialin.net X-message-flag: IMPORTANT MESSAGE -- PLEASE READ IMMEDIATELY!!! X-Accepted-File-Formats: ASCII, .rtf, .ps, .pdf - *NO* MS Office files User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:23564 Date: 2002-05-05T21:58:42+02:00 List-Id: I've found the size of executables to differ considerably under Windows and Linux. The hello.adb that comes with gnat 3.13p has under Linux this size: gnatmake -g hello.adb -rwxr-xr-x 1 mb users 23199 Mai 5 21:43 hello -rw-r--r-- 1 mb users 899 Jun 12 2000 hello.adb -rw-r--r-- 1 mb users 689 Mai 5 21:43 hello.ali -rw-r--r-- 1 mb users 5108 Mai 5 21:43 hello.o -rw-r--r-- 1 mb users 12 Jun 12 2000 hello.rsp whereas under Windows -rwxr-xr-x 1 root root 899 Feb 25 2000 hello.adb -rwxr-xr-x 1 root root 720 Mai 5 10:08 hello.ali -rwxr-xr-x 1 root root 118306 Mai 5 10:08 hello.exe -rwxr-xr-x 1 root root 4751 Mai 5 10:08 hello.o -rwxr-xr-x 1 root root 12 Feb 25 2000 hello.rsp Any hints what can be done to reduce executable size under Windows?