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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e9f27bbe0678fdfc X-Google-Attributes: gid103376,public From: Gautier Subject: Re: huge executable?? Date: 2000/05/14 Message-ID: <391F102C.26ED7310@maths.unine.ch>#1/1 X-Deja-AN: 623358864 Content-Transfer-Encoding: 7bit References: <391E09C3.FA04871E@mailandnews.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 14 May 2000 22:44:30 +0100, mac13-32.unine.ch Organization: Maths - Uni =?iso-8859-1?Q?Neuch=E2tel?= MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-14T00:00:00+00:00 List-Id: David Dousette: > I compiled it with the command line "gnatmake hello.adb" and the > executable generated was a little over 250,000 bytes! I ran it through > "emxbind -s" (as suggested by R. Dewar) to strip out all the debugging > stuff, but it's still 126,000 bytes.... why? I wrote a similar program > in C, and it was less than 5,000 bytes... why is the .EXE produced by > Ada so much bigger? The executable runs fine, and I have plenty of hard > drive space... I was just curious. With wich compiler did you compile your C program ? The 5,000 bytes seem rather from some 16-bit Turbo C. With GCC it would be (logarithmically) nearer to 126,000 bytes... _____________________________________________ Gautier -- http://members.xoom.com/gdemont/