cvs.gedasymbols.org/archives/browse.cgi | search |
From: | stenstrup AT my-deja DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Hello World and File size |
Date: | Sun, 06 Jun 1999 17:19:03 GMT |
Organization: | Deja.com - Share what you know. Learn what you don't. |
Lines: | 16 |
Message-ID: | <7jeai0$27a$1@nnrp1.deja.com> |
NNTP-Posting-Host: | 129.142.203.150 |
X-Article-Creation-Date: | Sun Jun 06 17:19:03 1999 GMT |
X-Http-User-Agent: | Mozilla/4.5 [en] (Win95; I) |
X-Http-Proxy: | 1.0 x30.deja.com:80 (Squid/1.1.22) for client 129.142.203.150 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |