comp.lang.ada
 help / color / mirror / Atom feed
From: n_brunot@my-deja.com
Subject: Re: WinNT ADA compilers comparison
Date: 2000/08/02
Date: 2000-08-02T00:00:00+00:00	[thread overview]
Message-ID: <8m8psc$ef6$1@nnrp1.deja.com> (raw)
In-Reply-To: 86zon5aio7.fsf@acm.org

I use deja.com since I'm currently in Japan and have problems accessing
newsgroup from my usual account.

Platform is WinNT 4 with Gnat 3.12p
we tried a lot of optimisation, strip etc ...

In comparison to others compilers (not only Alsys ADA83) Gnat produces
incredibly huge executables when you make intensive use of generics
(using a lot of generics is a quite normal and desirable thing in ADA
according to us)

We of course use generics (and generics of generics ....) which is may
be one of the most important and powerful ADA features, allowing you
not spending your time writing more or less the same code, and keep
strong compiler check.

reaching sizes of more than 40 or 50 Mo start to be a real inconvenient
when others compilers are 4 or 5 times smaller

Nicolas BRUNOT

In article <86zon5aio7.fsf@acm.org>,
  Laurent Guerby <guerby@acm.org> wrote:
> Nicolas Brunot <n.brunot@cadwin.com> writes:
> > [...] If you are concerned by executable size for example, even with
> > optimization and strip, for example, we get gnat executable size
> > incredibly huge in comparison even with old ADA83 compiler (40 Mo
> > instead of 8 Mo !!!) [...]
>
> Hmmm, do you have lots of generics? If the old compiler implements
> shared generics and given that GNAT doesn't, that could be a reason
> for the size difference. BTW, did you try "-Os"? It asks GCC to try to
> avoid optimizations that increase code size.
>
> Also, what is the platform here?
>
> --
> Laurent Guerby <guerby@acm.org>
>


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-08-02  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-20  0:00 WinNT ADA compilers comparison Nicolas Brunot
2000-07-20  0:00 ` Thierry Lelegard
2000-07-20  0:00   ` Lionel Draghi
2000-07-21  0:00     ` Nicolas Brunot
2000-07-22  0:00       ` Thierry Lelegard
2000-07-24  0:00         ` Nicolas Brunot
2000-07-25  0:00           ` G. de Montmollin
2000-08-02  0:00             ` n_brunot
2000-07-26  0:00           ` Laurent Guerby
2000-08-02  0:00             ` n_brunot [this message]
2000-08-02  0:00               ` gdemont
2000-08-03  0:00                 ` n_brunot
2000-08-03  0:00                   ` Brian Rogoff
2000-08-03  0:00                     ` tmoran
2000-08-04  0:00                     ` Robert A Duff
2000-08-15  4:56               ` Robert I. Eachus
2000-08-16  0:00                 ` n_brunot
2000-07-20  0:00 ` tmoran
2000-07-20  0:00 ` Stephen Leake
2000-07-20  0:00   ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox