delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/15/16:15:29

From: "John M. Aldrich" <fighteer AT cs DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Compiler options...
Date: Sat, 15 Aug 1998 16:04:36 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 21
Message-ID: <35D5E9D3.D4FEF227@cs.net>
References: <6r4jdt$ksk$1 AT probity DOT mcc DOT ac DOT uk>
NNTP-Posting-Host: ppp145.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

baris sanli wrote:
> 
> I have a problem about compiler options.
> I am just using standart libraries and the exe file
> is massive like 100kb for just "Hello World!".
> Is there anyone knows about how to minimize the
> file sizes without leaving standart lib.s?

The 100KB size is caused by the overhead for DPMI programs, debugging
information, and various other things.  To learn how to minimize it, see
chapter 8.15 of the DJGPP Frequently Asked Questions list.

-- 
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT net>  UIN# 7406319

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? C++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---)
O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++
e(*)>++++ h!() !r !y+()
------END GEEK CODE BLOCK------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019