From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Why HolaMundo.exe ---> 106 Kb? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <80hgos0advh7o2q8bjt7tvbcq04up31q5f@4ax.com> References: <001301bffc94$2c0ef3c0$0000a8c0 AT p150> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27 X-Trace: /K49oBx9LLWE4fYPn69IvjaZ5b2fnwvjZ3DgXwwu7G6xDz9tZkOF5vG58klrR4olBcpdr07Uz8N8!s3gODCAYIvuyMfT9xiNhUq4LQGPa4/xz80hBcDkDV8aHT/2HE1BaZJD/q38JNMJqQIqGOpAyUlS9!4g== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Wed, 02 Aug 2000 15:56:38 GMT Distribution: world Date: Wed, 02 Aug 2000 15:56:38 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 2 Aug 2000 12:13:09 -0300, "Sebastian Ferro" wrote: >In Borlandc 3.1 HolaMundo.exe ---> 9 kb >with djgpp 2.03 HolaMundo.exe ---> 106 kb >The source is: >#include > >int main() { > printf("Hola Mundo\n"); > return 0; >} Going into protected mode just to echo a string is overkill, and the exe size shows it. Try running UPX on the exe. UPX strips debugging symbols and packs the rest. http://upx.tsx.org/ Read FAQ entry 8.13 for more information. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/