From: "Edmund Horner" Newsgroups: comp.os.msdos.djgpp References: <39596c20 DOT 6769105 AT news DOT m DOT iinet DOT net DOT au> Subject: Re: why exe files so big?? 400k! Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Organization: Paradise Net Ltd. Customer Message-ID: <962165763.187534@shelley.paradise.net.nz> Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-79-65-164 DOT tnt8 DOT paradise DOT net DOT nz X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Date: Wed, 28 Jun 2000 16:16:38 +1200 NNTP-Posting-Host: 203.96.152.26 X-Complaints-To: newsadmin AT xtra DOT co DOT nz X-Trace: news.xtra.co.nz 962165781 203.96.152.26 (Wed, 28 Jun 2000 16:16:21 NZST) NNTP-Posting-Date: Wed, 28 Jun 2000 16:16:21 NZST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Methods of reducing EXE size (a topic which is also covered by the FAQ): 1. Link with -s to strip the symbol names. 2. Use an EXE compressor like DJP to approximately halve the size (for most EXEs). 3. Use libraries that are written in a modular way so they don't include code you'll never use. wrote in message news:39596c20 DOT 6769105 AT news DOT m DOT iinet DOT net DOT au... > for some reason (probably really simple) DJGPP compiles my executable > files at about 400k (even if they're relly lame ones like adding two > numbers and displaying them to screen, how do I make DJGPP compile to > normal (small) size > > PLEASE JUST LEAVE A NOTE ON THIS, its driving me mad!!