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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cd7d510783cb3f76 X-Google-Attributes: gid103376,public From: Georgi Savov Subject: Re: Executable File Size Differences Date: 1996/09/25 Message-ID: <52bq9m$7gn@nr1.ottawa.istar.net>#1/1 X-Deja-AN: 185288041 references: <52bmn5$7r0@sjx-ixn6.ix.netcom.com> content-type: text/plain; charset=us-ascii organization: Pika Technologies Inc. mime-version: 1.0 reply-to: Georgi.Savov@Pika.Ca newsgroups: comp.lang.ada x-mailer: Mozilla 3.0b6Gold (Win95; I) Date: 1996-09-25T00:00:00+00:00 List-Id: Robert P. Kuzmicki wrote: > > I tried compiling a simple "Hello World" program with the Thomson Software's ActivAda for Windows > and Thomson's new "ObjectAda". The ActivAda version produces a executable file size of about 288K. > ObjectAda produces an exe of about 788K. Microsoft C++ produces an exe of about 10K. Why are the > executables so substantially different? Are the Ada compilers linking in alot of excess baggage? I > have tried various compiler switches, but nothing seems to shrink the exe file sizes. > > Can anyone enlighten me here? Probably you are looking at the Debug version of the EXE file. Try making a Release Version. I did. It is 83K. Georgi Savov