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,c4ab69bf7d3638f1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Noel Duffy Newsgroups: comp.lang.ada Subject: Re: Differences between gnat 4.4.5 and 4.5.1 Date: Thu, 10 Mar 2011 21:42:20 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <86tyfa3bmz.fsf@gareth.avalon.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 10 Mar 2011 21:42:20 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="qqhL6owrjvUMOA3MMS4A8A"; logging-data="27156"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5oCmX/SWPWmCaQmr+LcxjK2WkSmL6vgE=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:7esfH4ZhNDujRbQQ3cMXU/MADl0= Xref: g2news1.google.com comp.lang.ada:18067 Date: 2011-03-10T21:42:20+00:00 List-Id: On Thu, 10 Mar 2011 22:32:04 +0100, Mart van de Wege wrote: > Julian Leyh writes: >> What do "file" and "ldd" tell you about them? Are the sizes more >> similar if you "strip" them? > > I'd be inclined to think stripping may be the culprit. Debian is well > known to use stripped binaries by default, so I wouldn't be surprised if > the various toolchains are set up that way as well. I took care to strip both executables before comparison. The disparity in size is after stripping, not before. > IIRC, this is what led them to stop being the default GNU distro, as the > GNU folks like their binaries with debug info by default. And since > Fedora is mostly a Red Hat project, and Red Hat has absorbed a *lot* of > the GCC devs via Cygnus, I'd expect Fedora to *not* strip by default. On both Debian and Fedora gnatmake leaves debug information in by default. However, I am use -largs -s to strip the executables. Redhat like to ship debug information as separate .dbg files these days, so you get smaller executables without losing debug information. There is a special debug repository where you can download debug information for any rpm.