Message-ID: <375B45E7.16880ADE@anonymes.com> From: =?iso-8859-1?Q?Jean=2DRen=E9?= Couture X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Hello World and File size References: <7jeai0$27a$1 AT nnrp1 DOT deja DOT com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Lines: 28 Date: Mon, 07 Jun 1999 00:09:11 -0400 NNTP-Posting-Host: 207.96.216.95 X-Complaints-To: abuse AT videotron DOT net X-Trace: weber.videotron.net 928728389 207.96.216.95 (Mon, 07 Jun 1999 00:06:29 EDT) NNTP-Posting-Date: Mon, 07 Jun 1999 00:06:29 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com You can also add -fconserve-space which will save some space. Why do you want to save on .exe size anyways? The point of being in 32 bit mode was exactly to stop worrying about size. You have all RAM, and then you can page to disk automatically. You should develop without any kind of optimisation there to keep the debug codes. Jean-René Couture Anonymes Informatique stenstrup AT my-deja DOT com wrote: > I'm new to C/C++ programming and DJGPP compiling. I have a question > about compiling the simpel HelloWorld program with DJGPP and RHIDE. > > If I run the source file from RHIDE it produces an EXE-file of 293.276 > bytes. Compiling the source file with gxx -o in the DOS prompt produces > an EXE-file of 287.456 bytes. Using the -s option or Strip command > reduces the EXE-file to 139.776 bytes. These sizes are much higher than > the 80 kb referred to in the FAQ so what am I missing? Is there a way to > reduce the file size or is it just the way it all works? > > Regards, > Claus Stenstrup. > > Sent via Deja.com http://www.deja.com/ > Share what you know. Learn what you don't.