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.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,380eb3e330e4b3e1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-06 03:15:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!deine.net!freenix!enst!enst.fr!not-for-mail From: Duncan Sands Newsgroups: comp.lang.ada Subject: Re: Executable size with GNAT for Windows and Linux Date: Mon, 6 May 2002 12:14:46 +0200 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 1020680103 19483 137.194.161.2 (6 May 2002 10:15:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 6 May 2002 10:15:03 +0000 (UTC) Return-Path: X-Mailer: KMail [version 1.3.2] In-Reply-To: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:23578 Date: 2002-05-06T12:14:46+02:00 On Monday 06 May 2002 12:06 pm, Preben Randhol wrote: > On 05 May 2002 21:58:42 +0200, Michael Bode wrote: > > 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 > > did you compile with -g ? That would include debugging information. > Compile without -g. The linker option -s strips out debugging info and some other symbols. Duncan.