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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b16c9883f36bc904 X-Google-Attributes: gid103376,public From: n_brunot@my-deja.com Subject: Re: WinNT ADA compilers comparison Date: 2000/08/02 Message-ID: <8m8psc$ef6$1@nnrp1.deja.com>#1/1 X-Deja-AN: 653542790 References: <3976C68A.12386D00@cadwin.com> <8l7fff$9kb$1@front1.grolier.fr> <3A92E737.E690906A@free.fr> <3978041A.EB0F8FCE@cadwin.com> <8lcgbi$gvb$1@front5.grolier.fr> <397C03F9.AF6DF60F@cadwin.com> <86zon5aio7.fsf@acm.org> X-Http-Proxy: 1.1 - (DeleGate/6.1.9), 1.0 x70.deja.com:80 (Squid/1.1.22) for client 202.228.192.156 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Aug 02 09:32:59 2000 GMT X-MyDeja-Info: XMYDJUIDn_brunot Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT) Date: 2000-08-02T00:00:00+00:00 List-Id: 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 wrote: > Nicolas Brunot 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 > Sent via Deja.com http://www.deja.com/ Before you buy.